Kaydet (Commit) 72cdb702 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #790356] unctrl() doesn't work for full printable charset. Fix by Dave Cinege.

üst e752e206
......@@ -87,6 +87,8 @@ def alt(c):
return _ctoi(c) | 0x80
def unctrl(c):
if isprint(c):
return chr(_ctoi(c))
bits = _ctoi(c)
if bits == 0x7f:
rep = "^?"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment