Re: Unicode to UTF-8

From: John Cowan (jcowan@reutershealth.com)
Date: Thu Mar 16 2000 - 13:21:23 EST


Glen Perkins wrote:

> but for a
> UTF-16 (or upper Latin-1, just as often these days) to UTF-8 and back,

UTF-8 to Latin-1 is simple enough to keep in your head:

        00 to 7F: no change
        80 to BF: the UTF-8 is C2 followed by xx
        C0 to FF: the UTF-8 is C3 followed by xx minus 40

> John, how are you at Palm apps? ;-)

Not.

-- 

Schlingt dreifach einen Kreis vom dies! || John Cowan <jcowan@reutershealth.com> Schliesst euer Aug vor heiliger Schau, || http://www.reutershealth.com Denn er genoss vom Honig-Tau, || http://www.ccil.org/~cowan Und trank die Milch vom Paradies. -- Coleridge (tr. Politzer)



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:00 EDT