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

Created on 9 Apr 2017  路  18Comments  路  Source: cmderdev/cmder

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?

馃憜 ConEmu

Most helpful comment

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

All 18 comments

u need
chcp 65001

no luck with that... @tszyjie

snipaste20170413_112320

snipaste20170413_112832
@Himyth

thx! that works with the display. but type Chinese still looks fatter than it should be
image

i think maybe it has something to do with the new render mechanism in 1703?

default:
snipaste20170413_114426
but
after execute chcp 65001
snipaste20170413_114455

By the way:
18

or try to change 'Main console font'
09

https://1drv.ms/u/s!AhgDJ1s9sY7dgbpplOA4ZVuCBorlDA
@Himyth

switching to powershell, and every thing work now! thx~

Free CJK fonts:

Same problem and changing font doesn't work.

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

@victor97 perfect solution! thx

@victor97
that would make not working on bash on ubuntu feature:

Unsupported console settings. In order to use this feature the legacy console must be disabled.

  • When i open it with powershell, it shows that this is what i do not like
    qq 20170531105644
  • can it show with this and solve the problem?
    qq 20170531105600
  • 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

mark

mark

Do not produce noise by using mark @hijkzzz , @tiakia , @lsh6372

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hyrious picture hyrious  路  3Comments

edgariscoding picture edgariscoding  路  3Comments

justinmchase picture justinmchase  路  3Comments

zsedcbm picture zsedcbm  路  3Comments

emesx picture emesx  路  3Comments