Unicode support is broken.
Bug #811575 reported by
David Green
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QR Tools |
Fix Released
|
Critical
|
David Green |
Bug Description
In various data types, unicode characters don't encode+decode properly. This needs to be fixed. Unicode needs to be completely transparent to users of the API.
Changed in qr-tools: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
As I was on Bug #1242399 I found this bug. There seem to be a problem in the latest version which refuses to decode a PNG. Note that the URL does not even contain Unicode, this is 100% pure ASCII.
Traceback (most recent call last): python2. 7/dist- packages/ qrtools. py", line 181, in decode python2. 7/dist- packages/ PIL/Image. py", line 695, in tostring
File "/usr/bin/qtqr", line 540, in decodeFile
if qr.decode():
File "/usr/lib/
raw = pil.tostring()
File "/usr/lib/
"Please call tobytes() instead.")
Exception: tostring() has been removed. Please call tobytes() instead.