Dmitry Timoshkov wrote:
The problem is that our translation table for code page 20127 is different from what Windows has, and the ansi_buf get mangled. Attached patch synchronizes our code page 20127 table with Windows one and fixes the bug.
If you change a codepage from a unicode.org mapping then you need to add the changed .TXT file you generated it from to the build tree and update cpmap.pl to use it.