[Xlibs] locale support
Mike A. Harris
mharris@www.linux.org.uk
Wed, 19 Nov 2003 16:48:53 -0500 (EST)
On Wed, 19 Nov 2003, Owen Taylor wrote:
>> Why not implement the ability for X to use the system locale
>> information first, and make it compile time conditionally
>> enabled. Default to using it on OS combinations it is known to
>> work on, and fix problems as they arise. There's always fallback
>> to existing code then to handle any problems that come up. In
>> time, all relevant platforms will either:
>
>Note that this capability is largely already there, and already
>used in XFree86 builds. The only thing that might be getting
>duplicated now is Unicode and code conversion tables, but replacing
>that with iconv() is not particularly easy, and definitely not
>particularly portable. (I'm not sure *BSD even have iconv() support
>yet; the names of character sets for iconv aren't at all portable
>across systems.)
Yes, the code conversion tables was one of the primary things I
believe Jim is wanting to get rid of. I agree that this stuff
should be disabled by default on systems that provide their own
mechanisms.
--
Mike A. Harris