Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))
From: Aahz (aahz_at_pythoncraft.com)
Date: 01/04/05
- Next message: Paul Rubin: "Re: Python evolution: Unease"
- Previous message: It's me: "Re: Hlelp clean up clumpsy code"
- In reply to: michele.simionato_at_gmail.com: "Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30)"
- Next in thread: Skip Montanaro: "Re: Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))"
- Reply: Skip Montanaro: "Re: Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))"
- Maybe reply: Walter Dörwald: "Re: Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 4 Jan 2005 10:18:15 -0500
In article <1104849206.111461.70500@c13g2000cwb.googlegroups.com>,
<michele.simionato@gmail.com> wrote:
>
>BTW what's the difference between .encode and .decode ?
>(yes, I have been living in happy ASCII-land until now ... ;)
Here's the stark simple recipe: when you use Unicode, you *MUST* switch
to a Unicode-centric view of the universe. Therefore you encode *FROM*
Unicode and you decode *TO* Unicode. Period. It's similar to the way
floating point contaminates ints.
-- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis
- Next message: Paul Rubin: "Re: Python evolution: Unease"
- Previous message: It's me: "Re: Hlelp clean up clumpsy code"
- In reply to: michele.simionato_at_gmail.com: "Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30)"
- Next in thread: Skip Montanaro: "Re: Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))"
- Reply: Skip Montanaro: "Re: Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))"
- Maybe reply: Walter Dörwald: "Re: Unicode universe (was Re: Dr. Dobb's Python-URL! - weekly Python news and links (Dec 30))"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|