From: Doug Ewell (dewell@adelphia.net)
Date: Thu Jan 15 2004 - 10:31:15 EST
Paramdeep Ahuja <paahuja at quark dot co dot in wrote:
> I am looking for a way to determine the Code Page of a char, on both
> Mac and Win, if we know the Unicode value of the character. Can anyone
> help me out there??
Be careful how you think about this problem. Some Unicode characters,
like U+0041, belong to just about every code page ever invented.
Others, like U+1900, probably belong to none. Searching for "the" code
page of a Unicode character will return anywhere from zero to hundreds
of code pages.
That said, there are cross-mapping tables available at
http://www.unicode.org/Public/MAPPINGS/ (and other places as well). You
could start by looking through those.
-Doug Ewell
Fullerton, California
http://users.adelphia.net/~dewell/
This archive was generated by hypermail 2.1.5 : Thu Jan 15 2004 - 11:07:40 EST