Cmder: v1.2.9中文路径乱码

Created on 10 Dec 2015  ·  9Comments  ·  Source: cmderdev/cmder

cmder v1.2.9中文路径乱码,该怎么解决?

👯‍♀️ Is Duplicate

Most helpful comment

English please

All 9 comments

English please

or someone who can translate please?

ok, i hava a question about my cmder v1.2.9,If I enter Chinese folder,this file path will Chinese garbled.(= ̄ω ̄=)
cmder

cmder

@phpgao once gave a solution to this problem in a post (Link), I'm not sure whether that works because my cmder works well with chinese characters even without further configuration.

His solution:

Add the below 4 lines to cmder/config/aliases:

l=ls --show-control-chars 
la=ls -aF --show-control-chars 
ll=ls -alF --show-control-chars 
ls=ls --show-control-chars -F

@esphas It doesn't work in new version

No idea. (BTW I seemed to have given the wrong link.. it should be this one)

@Stanzilla why this issue is closed?

my envirionment: cmder_mini 1.3.0, windows 10

1054 view this discussion

1070 commit fixed this problem

Just for clarification: in my understanding, the fix in #1070 won't change the two cases reported above in the two screenshots of https://github.com/cmderdev/cmder/issues/764#issuecomment-163801058:

The fix in #1070 only parses the current directory which is displayed one line above the current prompt, but does nothing with the current typed in command nor the problem that clink doesn't find a file. I suspect that a newer clink version fixes both "by accident".

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jordanrobinson picture jordanrobinson  ·  3Comments

tfarina picture tfarina  ·  3Comments

GlassGruber picture GlassGruber  ·  3Comments

sathishsoundharajan picture sathishsoundharajan  ·  3Comments

isnullxbh picture isnullxbh  ·  3Comments