On Tue, 20 Nov 2007 15:55:00 +0100 Dr. Werner Fink wrote:
> The problem was that the former version of mbchar() uses mbtowc()
> even for real ASCII characters which shifts the backslash (0x5C)
> to the latin1 Yen symbol (0xA5). 

does the backslash => latin1 Yen symbol happen because the ksh
implementation is in an incorrect shift state?
otherwise I don't understand why a pointer to a 7 bit ascii char
should be converted (my understanding of shift charsets is minimal)

> The patch also includes a test
> case for Japanese SHIFT-JIS characters which include an ASCII
> character as second byte.

could you publish the tests under CPL
otherwise we won't be able to package them with ast

thanks

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

Reply via email to