Nov. 20, 2003
3:07 p.m.
Olaf 'Ruebezahl' Radicke <olaf_rad@gmx.de> writes:
line 44, in set_projekt_ziel self.my_socket.send(unicode(commant,"Latin-1").encode("utf-8")) TypeError: decoding Unicode is not supported
Anscheinend ist 'commant' schon unicode, daher schlägt unicode(commant, "Latin-1") fehl. Also solltest Du self.my_socket.send(commant.encode("utf-8") probieren...
line 45, in set_projekt_ziel self.my_socket.send(commant) UnicodeEncodeError: 'ascii' codec can't encode characters in position
... und hier würde das wahrscheinlich auch helfen. Thomas _______________________________________________ Python-de maillist - Python-de@python.net http://python.net/mailman/listinfo/python-de