unicode 3 digit decimal conversion

Martin v. Löwis martin at v.loewis.de
Sat Sep 27 07:49:45 EDT 2003


Peter Otten <__peter__ at web.de> writes:

> I see your problem is already solved

I'm quite uncertain as to what the solution is, though - or perhaps
what the problem is. The OP said that the telnet server expects
backslash characters in the data stream (atleast I interpreted his
message that way), but then he was happy with an approach that did not
send backslash characters.

Perhaps the telnet server really expects latin-1, in which case
encoding the Unicode string in that encoding, or in iso-8859-15,
would work fine most of the time.

Regards,
Martin




More information about the Python-list mailing list