UnicodeDecode error checking a UTF8 page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pocket-lint |
Fix Released
|
High
|
Curtis Hovey |
Bug Description
I see an error when editing a html page that has a meta tag that states it is UTF-8. The checker appears to be working in that I am seeing XML syntax errors being reported.
Traceback (most recent call last):
File "/home/
self.
File "/home/
self.
File "/home/
checker.check()
File "/usr/lib/
XMLChecker(
File "/usr/lib/
ElementTree
File "/usr/lib/
tree.
File "/usr/lib/
parser.
File "/usr/lib/
self.
File "/usr/lib/
return self.target.
File "/usr/lib/
self._flush()
File "/usr/lib/
text = "".join(self._data)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 0: ordinal not in range(128)
Changed in pocket-lint: | |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
status: | In Progress → Fix Committed |
Changed in pocket-lint: | |
status: | Fix Committed → Fix Released |