[1.7] Support for CJK Character Sets

Andy Moreton andrewjmoreton@gmail.com
Sat Apr 4 16:13:00 GMT 2009


On Sat 04 Apr 2009, Corinna Vinschen wrote:
> On Apr  3 21:20, Corinna Vinschen wrote:
>> On Apr  4 02:32, neomjp wrote:
>> > [...]
>> > But it failed for JIS/ISO-2022-JP and eucJP. (It was represented as
>> > ASCII SO(0x0e)/UTF-8 sequence).
>> > 
>> > What is going wrong here? What makes the file name conversion from
>> > UTF-16 to these character sets to fail? Or, what am I doing wrong?
>> > [...]
>> > LANG=en_US.ISO-2022-JP
>
> Oh, btw., this is wrong.  The string "ISO-2022-JP" isn't supported,
> just "JIS" is.  But it won't work, even with "JIS", afaics.

As an aside, the man page for wcstomb(3) seems to have an incorrect
prototype:

     int wcstombs(const char *S, wchar_t *PWC, size_t N);

should be:

     int wcstombs(char *S, const wchar_t *PWC, size_t N);

AndyM


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list