Trouble saving unicode text to file
Ivan Van Laningham
ivanlan at pauahtun.org
Sat May 7 21:41:07 EDT 2005
Hi All--
John Machin wrote:
>
>
> The general rule in working with Unicode can be expressed something
> like "work in Unicode all the time i.e. decode legacy text as early as
> possible; encode into legacy text (if absolutely required) as late as
> possible (corollary: if forced to communicate with another
> Unicode-aware system over an 8-bit wide channel, encode as utf-8, not
> cp666)"
>
+1 QOTW
And true, too.
<i-especially-like-the-cp666-part>-ly y'rs,
Ivan
----------------------------------------------
Ivan Van Laningham
God N Locomotive Works
http://www.andi-holmes.com/
http://www.foretec.com/python/workshops/1998-11/proceedings.html
Army Signal Corps: Cu Chi, Class of '70
Author: Teach Yourself Python in 24 Hours
More information about the Python-list
mailing list