]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/pythonproxy-utf8_again.mdwn
link
[ikiwiki.git] / doc / bugs / pythonproxy-utf8_again.mdwn
1 [[!template  id=gitbranch branch=chrysn/more-proxy-utf8-fail author="[[chrysn]]"]]
2
3 the recently introduced fixes for [[crashes in the python proxy even if disabled]]
4 caused the typical python2 implicit conversion failures ("'ascii' codec
5 can't...") on my debian sid system -- to fix it, i had to revert commit 154c4ea9e.
6
7 i did not dig down all the way to the xml / xmlrpc modules, but my impression
8 is that some module changed its behavior between stable and sid and now
9 generates `unicode` strings instead of `str`.
10
11 a [[patch]] to allow both versions by inspecting the types and en-/decoding on
12 demand should work both for anarcat's and my case. i did not test the python3
13 version, but i'm pretty sure it was already broken after the abovementioned
14 patch.
15
16 -- [[chrysn]]