[Y-devel] i18n
Dmitry Platonov shadowjack at mail.ru
Fri Feb 20 20:40:59 GMT 2004
On Fri, Feb 20, 2004 at 11:48:51AM +0200, Alexey Boyko wrote:
>
> > > Why convert? Client also may work in wchar_t, and it is client problem
> > > how to convert from local encoding to UCS4 (mbstowcs/wcstombs). I think
> > > protocol also must pass strings in UCS4.
> > wchar_t is implementation-dependent, and can be not same on client and
> > server. thus, it must be converted, and one possible way - through UTF8.
> > UTF8 is endianness-independent, and good choise for transfer encoding.
>
> Yes.
And, what is "right way" for doing encoding conversions?
I tried iconv, but with not much success.
I looked into wcrtomb and mbrtowc, but it seems that locale must be set
before conversion to something like setlocale(LC_CTYPE,"en_IN.utf8")?
Is there any cleaner way to do this?
> > > > 3. server->glyph
> > > Fonts in unicode?
> > is there good free international unicode fonts?
>
> Now only URW Nimbus (and FreeSans/FreeSerif/FreeMono which, as I know, based
> on URW Nimbus)
>
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved