Timothy Greenwood wrote:
What happens is you issue
chcp 65001
from a DOS box that then kicks off the windows app?
Nothing, I think.
The encoding(s) of a GUI application is not influenced by the encoding(s) of
the process that starts it. Especially, there is little or no link between
the
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
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
F-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
, IBM ICU.
They seem no good supports on NT, what do you think ?
Thanks.
-Changjian Sun
Vaintroub, Wladislav [EMAIL PROTECTED]
09/04/01 01:40 PM
To:'[EMAIL PROTECTED]' [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:RE: UTF-8 on NT
I'm afraid
I'm also thinking of 3rd party
UTF-8 support such as libutf8, IBM ICU.
They seem no good supports on NT, what do you think
?We are usingICU for all our Unicode
needs,on NT, Windows 2000, and Unix, and itworks perfectlywell
on all of these.
YA
I'm afraid ,that there no way to set UTF-8 locale on Windows via setlocale.
Even if you try
to do this with setlocale(French_Canada.65001) it won't work correctly.
It's a pitty , because the porting of Unix programms,relying on UTF-8
locale becomes very
challenging task on Windows.
What
No. On Windows NT/2000/XP/CE, everything is UTF-16 Unicode, for all locales.
Locales and codepages are separate, as they should be.
You should compile your programs with UNICODE and _UNICODE defined to use the native
Unicode kernel functions.
UTF-8 is not possible - as far as I know - as a
ch 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
9 matches
Mail list logo