bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: charset independent strlist.c


From: Andrew Clausen
Subject: Re: charset independent strlist.c
Date: Wed, 18 Oct 2000 06:13:42 +1100

Masahiro Sakai wrote:
> 
> Hello
> 
> I suggest to use mbsrtowcs() and its family to convert strings
> between multibyte representation and wide character strings.
> They are more portable than iconv(). And we don't need to assume
> multibyte representation and wchar_t representation.

A problem I thought we might have is mbsrtowcs() might not know
what charset the translations will be in.  eg: Japanese (as you
know ;-) has EUC and utf8, IIRC.  Someone (takashi?) 

Is the Right Way to deal with this to set the locale.  i.e. to
jp_EUC, or whatever?

Andrew Clausen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]