Re: UCS-2 to UTF-8 hex values

From: David Starner (dstarner98@aasaa.ofe.org)
Date: Wed Sep 19 2001 - 14:14:29 EDT


On Wed, Sep 19, 2001 at 03:56:45PM +0100, Damien Donlon - Sun Microsystems Ireland - Solaris Software - Software Engineer wrote:
>
> 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?

Open up your Unicode book or look at the one on the web,
or look at the UTF-8 RFC. It would have taken far less time
to write one than to get a response.

-- 
David Starner - dstarner98@aasaa.ofe.org
Pointless website: http://dvdeug.dhis.org
"I don't care if Bill personally has my name and reads my email and 
laughs at me. In fact, I'd be rather honored." - Joseph_Greg



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