World According to Jussi

Feb 15 2011

Python and Unicode

Just a quick note to self. 

When you have strange problems with unicode and Python 2.x:

   s = unicode(“\xc3\xa9”, “utf8”)

and off you go.

2 notes

  1. worldaccordingtojussi posted this
Page 1 of 1