From: Jon Hanna (jon@hackcraft.net)
Date: Fri Jan 16 2004 - 07:05:49 EST
> For these functions to behave correctly , i need to set locale to xxx.UTF-8
> As solaris has en_US.UTF8 (w/o installing any extra support) , there is no
> problem.
[snip]
> But i am having problem especially in windows, as i can't find a locale
> supporting this.
> i tried changing windows code page to utf8 using _setmbcp(65001), but it
> didn't work
> as the functions i am using is locale dependent.
In windows the naming convention for locale's is different, although you were on
the right track with the _setmbcp call.
The windows name for "en_US.UTF8" is "English_United States.65001", ".65001"
will be UTF-8 in the default locale.
-- Jon Hanna <http://www.hackcraft.net/> *Thought provoking quote goes here*
This archive was generated by hypermail 2.1.5 : Fri Jan 16 2004 - 07:45:15 EST