I have used the latest pyreadline-1.5.svn.tar.gz in Chinese Windows XP.<br><br>The problem is that when I type some Chinese char, but can only delete half of a char per time, so I have to delete twice to del the char. The same problem with moving left or right.
<br><br>It seems Chinese char have 2 width of a ascii. The default encoding&nbsp; of console in Chinese XP is CP936(two bytes encodes one Chinese char).<br><br>I have looked the code in pyreadline, it uses the default encoding internally.
<br><br>I have a question is that can pyreadline use unicode internally instead? I thought It may be the easy way to fix the problem(no more half of char, and maybe only need to modify some code in pyreadline\console\console.py file).
<br><br>