You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a problem with encoding while reading and writing csv files.
There is an associated error file for each city:
Traceback (most recent call last):
File "./AirImport/importer.py", line 153, in get_csv_data
f.write(data)
UnicodeEncodeError: 'ascii' codec can't encode character '\xb5' in position 34: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
Please use a unicode enabled system locale: export LC_ALL=en_US.utf-8 and also make sure this local is enabled in /etc/locale.gen. Otherwise python will assume ASCII encoding when opening files, which results in the error you see above.
I encountered a problem with encoding while reading and writing csv files.
There is an associated error file for each city:
The text was updated successfully, but these errors were encountered: