This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author cober
Recipients cober
Date 2009-02-19.09:04:44
SpamBayes Score 1.5079587e-05
Marked as misclassified No
Message-id <1235034302.73.0.497047240099.issue5314@psf.upfronthosting.co.za>
In-reply-to
Content
Try to use http to send multi-byte utf8 data.

File "E:\DEVELOP\python\lib\http\client.py", line 904, in _send_request
    self.endheaders(body.encode('ascii'))
UnicodeEncodeError: 'ascii' codec can't encode character '\u7231' in 
position 119: ordinal not in range(128)


I modified the lib/http/client.py document, and fix this problem.
History
Date User Action Args
2009-02-19 09:05:04cobersetrecipients: + cober
2009-02-19 09:05:02cobersetmessageid: <1235034302.73.0.497047240099.issue5314@psf.upfronthosting.co.za>
2009-02-19 09:05:00coberlinkissue5314 messages
2009-02-19 09:04:59cobercreate