[Y-devel] i18n

Alexey Boyko smartly at gala.net
Fri Feb 20 17:05:01 GMT 2004


> And, what is "right way" for doing encoding conversions?

It is possible to convert between UTF-8 and UCS4 manually.

> I tried iconv, but with not much success.

What problem?

> I looked into  wcrtomb and mbrtowc, 

and wcstombs/mbstowcs

> but it seems that locale must be set
> before conversion to something like setlocale(LC_CTYPE,"en_IN.utf8")?

Yes, as I know.

> Is there any cleaner way to do this?

No, as I know.




More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved