root . 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]