Why is it, that the encoding changes in Python 2.7 when I iterate over the items of a list?
test_list = ['Hafst\xc3\xa4tter', 'asbds@ages.at']
Printing the list:
print(test_list)
gets me this output:
['Hafst\xc3\xa4tter', 'asbds@ages.at']
So far, so good. But why is it, that when I iterate over the list, such as:
for item in test_list:
print(item)
I get this output:
Hafstätter
asbds@ages.at
Why does the encoding change (does it?? And how can I change the encoding within the list?