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
Changjian Sun,
If you have code
that is currently setlocale based then there is an easy conversion to
Unicode. With xIUA http://www.xnetinc.com/xiua/ you have a
straight migration path to use the wonderful power of ICU.
You start by
replacing your current i18n functions such as set
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 char
>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 h
> 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 using ICU for all our Unicode
needs, on NT, Windows 2000, and Unix, and it works perfectly well
on all of these.
YA
ix programms,relying on UTF-8 locale becomes very challenging task on Windows.
Wladislav Vaintroub.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 6:36 PM
To: [EMAIL PROTECTED]
Subject: UTF-8 on NT
Not like in unix, we can set Fre
quot; 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 i
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.
Wla
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
9 matches
Mail list logo