This is not an NT issue so much as a Visual C++ CRT issue (the setloale
function is implemented there, for what you are probably using). At present,
there is no support for this (take a look at the code if you need to know
why, it makes all kinds of assumptions like "one byte per character" that
would break pretty awfully with UTF-8!).

MichKa

Michael Kaplan
Trigeminal Software, Inc.
http://www.trigeminal.com/

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 9:35 AM
Subject: UTF-8 on NT


> Not like in unix, we can set French UTF-8 locale by calling
>      setlocale(LC_ALL, "fr_CA.UTF-8"),
> On NT, I don't know how to set French UTF-8 locale,
> setlocale(LC_ALL, "French_Canada.1252") seems not for UTF-8
>
> My questions:
> 1. Is UTF-8 supported on NT ?
> 2. If yes, how to use setlocale() to set it up ?
> Thanks.
>
> -Changjian Sun


Reply via email to