cmder: display error with non-ASCII characters on windows 1703

after upgrade to windows creator update which is version 1703, the display is no longer right.

when i trying to ls the directory, it output ? instead of the non-ASCII characters, which is behave the same for both Chinese and Japanese. but dir command work fine. image

here is the output byte sequence of both command. I test this in another laptop with windows 10 version 1607, the output byte sequences are identical, and display is right: image

and if i type Chinese directly to the cmder, every character i type, the cursor will go right a little bit more than character’s width, like they are getting fatter, which is not. in the following screenshots, the white-space between Chinese characters and cursor is not manually added. it just come out of nowhere. image image image

it seems these has something to do with the display, because if i vim some file and type Chinese, despite the display all goes wrong, the content stays correct.

the problem seems to be ConEmu.exe, i got the same result if i run ConEmu.exe directly. any ideas?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 19 (1 by maintainers)

Most upvoted comments

Same problem in ConEmu. I solved it by using the old version console. image

mark

mark

  • It can enter the Chinese, but can also delete the “$”, enter the Chinese double quotation marks, delete the text will be a problem qq 20170531110706 qq 20170531110648

u need
chcp 65001