kennethreitz.org / Essays / 2009 / Convert A List Of Strings To Utf 8 In Python
Convert a List of Strings to UTF-8 in Python
If you'd like to learn more about programming, contact me for a one-on-one lesson.
def utf8ify(list):'''Encode a list of strings in utf8'''return [item.encode('utf8') for item in list]