|
From: Matitiahu A. <ma...@il...> - 2006-12-21 13:48:11
|
Cp720 is the OEM code page for Windows when the regional options are set
to an Arabic locale. The OEM code page is the one used for command prompt
sessions.
It seems that Cp720 is not supported by ICU4C or ICU4J, or by the Java
SDK.
Since 720 is an OEM code page, the name "windows-720" does not correspond
to anything.
Changing the code page to 1256 with chcp is possible, but does not
guarantee that you will get what you wish.
In general, versions of Windows later than Win98 do not claim to support
Arabic (or Hebrew) in command prompt sessions.
Shalom (Regards), Mati
Bidi Architect
Globalization Center Of Competency - Bidirectional Scripts
IBM Israel
Phone: +972 2 5888802 Fax: +972 2 5870333 Mobile: +972 52
2554160
Andreas Martens1 <ama...@uk...>
Sent by: icu...@li...
20/12/2006 19:25
Please respond to
ICU support mailing list <icu...@li...>
To
icu...@li...
cc
Subject
[icu-support] Windows codepage 720
I have been trying to trace a problem in our BiDi support and have
discovered that we're hitting trouble trying to get a codepage for
windows-720... We ask windows for it's codepage using GetConsoleOutputCP()
and then ask the ICU to find us a converter for it (we try to prepend "cp"
to it first). The ICU tells us that no such codepage exists.
1. Should windows XP be telling us something else (like 1256)?
2. Should we not be using GetConsoleOutputCP()?
if we do a chcp 1256 beforehand it works, but we'd prefer not to have to
tell our customers that their environment is wrong :-(
cheers,
Andreas
--
WebSphere Message Brokers Development
MP211, IBM Hursley Park, Winchester, SO21 2JN
Telephone Int. 24-6833 Ext. +44 (0)1962-816833
Lotus Notes ID : Andreas Martens1/UK/IBM Internet : ama...@uk...
To Un/Subscribe:
|