UnicodeDecodeError using Python 3.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
my-weather-indicator |
Fix Released
|
Undecided
|
Gonzalo |
Bug Description
Hi
I'm using Python 3.4 in Ubuntu 14.04, and when I start my-weather-
Traceback (most recent call last):
File "./my-weather-
import comun
File "/opt/extras.
line = f.readline()
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4209: ordinal not in range(128)
From what I've gathered, this is a problem with how Python 3 does the decoding of the file when opening with default options. My files and locale enconding are in UTF-8, yet it seems to be trying to open them with ascii.
Changed in my-weather-indicator: | |
status: | New → In Progress |
assignee: | nobody → Gonzalo (gonzaw308) |
Changed in my-weather-indicator: | |
status: | In Progress → Fix Committed |
Changed in my-weather-indicator: | |
status: | Fix Committed → Fix Released |