Define MB_LEN_MAX to 16.

* we follow glibc's example and allow 16 bytes as maximum multibyte
  character length (ICU's data currently shows an actual maximum
  of 8 bytes)
This commit is contained in:
Oliver Tappe
2011-11-22 17:40:45 +01:00
parent e0eb1d38c4
commit 0f21cf0ca0
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
/* Maximum length of a multibyte character. */
#ifndef MB_LEN_MAX
#define MB_LEN_MAX 1
#define MB_LEN_MAX 16
#endif
/* Minimum and maximum values a `signed char' can hold. */