Re: unicode <-> hex converter

From: Tony Harminc (tzha0@juts.ccc.amdahl.com)
Date: Wed Jan 15 1997 - 12:58:20 EST


> I'm trying to find out the Unicode values of characters in ISO-8859-5. I
> have a file which contains 8859-5 hex values for these characters. Is there
> a tool that will take as input :-
>
> 1. codeset (in this case 8859-5)
> 2. input file name
>
> and create an output file containing the Unicode values for the characters
> represented in hex in the input file.
>
> For example
>
> \xb2 in ISO-8859-5 is cyrillic capital letter PE
> The unicode value of cyrillic capital letter PE is \u041F
>
> In this case the converter should map \xb2 to \u041F
>
> A tall order?

No - not a tall order at all. But I'm not sure I understand the
problem: is it just that you don't have the table to map the values ?

If that's it, then get it from
ftp://unicode.org/pub/UNIX/MAPPINGS/ISO8859/8859-5.TXT .

If you want just one file converted, I'd be happy to do it for you.
I don't have a tool available that runs on any system you are likely
to be using, but it's pretty trivial to write one in your
favorite language given the mapping table.

Tony Harminc
tzha0@juts.ccc.amdahl.com



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:33 EDT