Normal to Unicode : Unicode « String « Python Tutorial






print unicode('spam')         # Normal to Unicode








5.39.Unicode
5.39.1.Unicode Strings
5.39.2.Storing Non-ASCII Characters
5.39.3.Effects of Setting the Default Encoding
5.39.4.Unicode to normal
5.39.5.Normal to Unicode