Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9
-
None
-
Ubuntu 12.10 (GNU/Linux 3.5.0-17-generic x86_64), python 2.7
-
Patch Available
Description
If the supplied string is not valid utf-8 there is an exception:
self.match = iprot.readString().decode('utf-8')
File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf2 in position 0: invalid continuation byte
Attachments
Attachments
Issue Links
- is related to
-
THRIFT-5303 Unicode decode errors in _fast_decode
- Closed
- links to