Wie sende ich per http request unicode xml daten?
Code: Alles auswählen
<xml>müll</xml>
In allen anderen fällen meckert httplib/socket
zb:
Code: Alles auswählen
File "e:\programme\Python27\Lib\httplib.py", line 790, in send
self.sock.sendall(data)
File "e:\programme\Python27\Lib\socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 69: ordinal not in range(128)