Sunday, May 11, 2008

Python and Unicode

Good presentation here on Python and Unicode.

The most important slide for me says:

s.decode(encoding)
* <type 'str'> to <type 'unicode'>

u.encode(encoding)
* <type 'unicode'> to <type 'str'>

Mozilla and hypocrisy

Right, but what about the experiences that Mozilla chooses to default for users like switching to  Yahoo and making that the default upon ...