UCS-2 to UTF-8 hex values

From: Damien Donlon - Sun Microsystems Ireland - Solaris Software - Software Engineer (Damien.Donlon@Sun.COM)
Date: Wed Sep 19 2001 - 10:56:45 EDT


Hi All,
I have a file containing some character mappings to
UCS-2 (iso 10646-1) both represented in hex e.g :

CP UCS
=============
2E 002E
2F 002F
30 0030
...

Has anyone written or found a script which takes 4 digit
hex representation of UCS-2 as (or similar to) the above
which outputs the UTF-8 value equivalent in the
same hex format?

Many Thanks,
Damien

Damien Donlon
damien.donlon@sun.com
00 353 1 8199225
x19225



This archive was generated by hypermail 2.1.2 : Wed Sep 19 2001 - 10:02:13 EDT