Hi,

the attached script for ja_JP.EUCJP fails as the multi byte character
as it seems that the multi byte character used in the example does
cross a 8192 byte boundary.

This can be tested with

   LANG=ja_JP.EUCJP ksh NG1.sh

but does also happen with the locale de_DE.UTF-8 but not with
de_DE.ISO-8859-1.  Both ksh Version JM 93u+ 2011-06-22 and
ksh Version JM 93t+ 2010-06-21 fails at that point.

it is expected that the output for the POSIX or any latin
locale is the same as for ja_JP.EUCJP which should 9000
bytes for the resulting file NG1.out.

     Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr

Attachment: NG1.sh
Description: application/shellscript

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to