Cmder: ls is not working correctly in cmder with unicode characters

Created on 9 Apr 2016  路  10Comments  路  Source: cmderdev/cmder

image

All chars with unicode filenames is replaced when testing ls.

image

When with "ls -b" it is like that.

The git-bash is good:
image

馃摉 Needs Documentation

Most helpful comment

my solution

Win+Alt+P
Settings -> Environment

set PATH=%ConEmuBaseDir%\Scripts;%PATH%
set LC_ALL=ru_RU.UTF-8
set LANG=ru_RU.UTF-8
chcp utf8
set ConEmuDefaultCp=65001

All 10 comments

@DaZui This work #985
set LANG=zh_CN.UTF-8 for your cmder Environment

And if that doesn't work, set LANG=C.UTF-8 for generic UTF-8 support.

@mbirth This worked for me.
dir commands worked fine but the ls didn't until I ran this.
Add the line to my user-config.cmd file so it always runs

OS: Win10 Japanese

my solution

Win+Alt+P
Settings -> Environment

set PATH=%ConEmuBaseDir%\Scripts;%PATH%
set LC_ALL=ru_RU.UTF-8
set LANG=ru_RU.UTF-8
chcp utf8
set ConEmuDefaultCp=65001

Tks!!Work for me

In PT-BR words like 'Corre莽茫o' showed: 'Correo' after use:

set LC_ALL=ru_RU.UTF-8
set LANG=ru_RU.UTF-8
chcp utf8
set ConEmuDefaultCp=65001

It's work!

Tks!!Work for me

In PT-BR words like 'Corre莽茫o' showed: 'Correo' after use:

set LC_ALL=ru_RU.UTF-8
set LANG=ru_RU.UTF-8
chcp utf8
set ConEmuDefaultCp=65001

It's work!

Man have you used ru_RU, not br_PT? Well... I've changed to br_PT ;) and it worked like a charm

set PATH=%ConEmuBaseDir%\Scripts;%PATH%
set LC_ALL=pt_BR.UTF-8
set LANG=pt_BR.UTF-8
chcp utf8
set ConEmuDefaultCp=65001

Should be fixed in current version. Closing.

Still not working for polish.

'ls' above with wrong naming and 'dir' bellow (good)

image

For polish. It works like a charm :)
set LC_ALL=pl_PL.UTF-8
set LANG=pl_PL.UTF-8
chcp utf8
set ConEmuDefaultCp=65001

Thanks you , thank you, thank you
For Vietnamese. It work like a charm :))

chcp utf-8
set LC_ALL=en_US.UTF-8
set LANG=en_US.UTF-8
chcp utf8
set ConEmuDefaultCp=65001
Was this page helpful?
0 / 5 - 0 ratings

Related issues

jordanrobinson picture jordanrobinson  路  3Comments

AaronKaa picture AaronKaa  路  3Comments

vincentntang picture vincentntang  路  3Comments

GlassGruber picture GlassGruber  路  3Comments

jenisys picture jenisys  路  3Comments