That also works. I considered mentioning it, but I thought it wasn't all that necessary having pointed out unicode(). My intent was to go from a simple technique (the Unicode conversion function) to the full artillery (the codecs module), so that after reading the article the user has both options. After reading your comment, they should have three. Thanks.
|