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