[Y-devel] i18n

Dmitry Platonov shadowjack at mail.ru
Fri Feb 20 16:28:17 GMT 2004


On Thu, Feb 19, 2004 at 09:58:22PM +0200, Alexey Boyko wrote:
> 
> > I'd like to discuss i18n support.
> > So, if all in-server strings are wchar_t (i think it is
> > implementation-dependen), we must put conversions it this places: 1.
> > server->client
> > 2. client->server
> 
> 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.

> > 3. server->glyph
> 
> Fonts in unicode?
> 

is there good free international unicode fonts? 




More information about the Y-devel mailing list









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