how can I convert invalid ASCII string to Unicode?

Ralf Claus ralf.claus at
Thu May 10 13:46:42 CEST 2001

can you tell me something about this error ?
With py 1.5.2 and Tcl/Tk 8.05 there are no problems!
With py 2.0 and Tcl/Tk 8.3 this error occurs if i try to
work with german "Umlaute" >äöü< in a Text Widget.
To type s='ö' in the idle is not possible.
How can i solve this problem ?

Tim Peters wrote:

> and-that's-the-true-story-behind-python's-famous-"ordinal-not-in-
>     range(128)"-error-msg-ly y'rs  - tim


Ralf Claus (rcl)
Teleatlas Deutschland GmbH
Am neuen Horizont 1
D -31177 Harsum
Tel.: 0049 5127 408 311
E-mail.: ralf.claus at

More information about the Python-list mailing list