Pyramid (およびおそらく他のもの) で PayPal IPN POST ペイロードを操作しようとすると、デコード エラーが発生します。
[...]
File "./project/views.py", line 716, in paypal_ipn
message = request.POST
File "build/bdist.linux-x86_64/egg/webob/request.py", line 745, in POST
File "build/bdist.linux-x86_64/egg/webob/multidict.py", line 74, in from_fieldstorage
File "build/bdist.linux-x86_64/egg/webob/multidict.py", line 67, in <lambda>
File "/sites/ts/lib64/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf3 in position 5: invalid continuation byte
それを修正する方法は?