[tahoe-dev] "Setup.py trial" failure

Daira Hopwood davidsarah at leastauthority.com
Sun Sep 1 04:17:12 UTC 2013


On 15/08/13 20:12, Zooko O'Whielacronx wrote:
> http://tny.cz/4c65796a
> 
>>   File "/Users/Frank/allmydata-tahoe-1.10.0/support/lib/python2.7/site-packages/Twisted-13.0.0-py2.7-macosx-10.5-i386.egg/twisted/internet/_sslverify.py", line 101, in _copyFrom
>>     value = getattr(x509name, name, None)
>> exceptions.UnicodeDecodeError: 'utf8' codec can't decode byte 0xfd in position 0: invalid start byte
> 
> This old thing again!!
> 
> https://bugs.launchpad.net/pyopenssl/+bug/434411

I'm guessing 0xFD is the first (low) byte of a U+FFFD REPLACEMENT CHARACTER
encoded as little-endian UTF-16. In other words a converter from some
random (probably wrong) encoding to UTF-16 has been applied, and then the
result treated as UTF-8. Isn't character encoding fun?

-- 
Daira Hopwood ⚥

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20130901/e685d835/attachment-0001.pgp>


More information about the tahoe-dev mailing list