Popular recipes by holger krekel http://code.activestate.com/recipes/users/2241488/2005-01-04T17:58:58-08:00ActiveState Code RecipesHandling International Text with Unicode (Python)
2005-01-04T17:58:58-08:00holger krekelhttp://code.activestate.com/recipes/users/2241488/http://code.activestate.com/recipes/361742-handling-international-text-with-unicode/
<p style="color: grey">
Python
recipe 361742
by <a href="/recipes/users/2241488/">holger krekel</a>
(<a href="/recipes/tags/text/">text</a>).
Revision 3.
</p>
<p>You need to deal with text strings which include non-ASCII characters. Python has a first class unicode type which you should always use instead of str to represent text.</p>