On 17.08.2012 11:22, Corinna Vinschen wrote:
...
  Anyway, my updated patch (using MB_LEN_MAX) proposes a change here as well.
Thanks.  I dropped the hint that 4 is enough.  I'm not so sure about
that.  Linux, for instance, defines MB_LEN_MAX as 16.
SunOS defines it as 5. http://www.kernel.org/doc/man-pages/online/pages/man3/MB_LEN_MAX.3.html says in glibc it is typically 6 (which would be needed for original UTF-8 covering 31-bit ISO-10646).

Other than that, patch applied.
Thanks
Thomas

Reply via email to