Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))
Skip Montanaro
skip at pobox.com
Tue Jan 4 10:32:54 EST 2005
aahz> Here's the stark simple recipe: when you use Unicode, you *MUST*
aahz> switch to a Unicode-centric view of the universe. Therefore you
aahz> encode *FROM* Unicode and you decode *TO* Unicode. Period. It's
aahz> similar to the way floating point contaminates ints.
That's what I do in my code. Why do Unicode objects have a decode method
then?
Skip
More information about the Python-list
mailing list