Share via

Can't display or recognize Chinese characters in Windows 10 cmd command line

Anonymous
2022-07-21T13:05:06+00:00

> Can't display Chinese characters properly in cmd with 'ls' command (result shown in fig.1). <

fig.1

Description: All file/folder names include Chinese characters are shown in forms like: ''$'<certain codec number of these Chinese characters, e.g. \123\456\789 for a single CN character>'$'<other English characters>'.

*i.e. enclose the whole file/folder name with '', separate CN and non-CN characters with ‘$’ .

  • Affect Pycharm terminals and other relative terminals. (results are similarly, e.g. CN Character '谷' shown as ''$' \350\260\267')
  • While using 'md'command in .bat file to create folders, only those folders name without Chinese character can be created. (shown as fig.2, below)
  • Not affect Chinese charater display out of the cmd.
  • Configuration of language and region are shown as fig.3(should be OK).
  • Not sure when and how this question comes up. No such question at first(means it was able to display CN characters properly few months ago)

fig.2

fig.3

Windows for home | Windows 10 | Input and language

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-07-22T05:05:32+00:00

    Hi kjeldahlofMicrosoft,

    Welcome to Microsoft Community.

    Not sure if this issue will refer to your non-Unicode settings since you seem once have multi languages installed, but I think there are some steps we should try: 

    1. Click Start, type control and hit Enter, then we should have 控制面板 opened.2. Find and open 区域, then go to the 管理 tab, click 更改系统区域设置.3. If Beta版: 使用 Unicode UTF-8 提供全球语言支持 is checked, please uncheck it, and vice versa. Please reboot your computer as requested and confirm if the issue is gone.4. If the issue still persist, please change 当前系统区域设置 to any lanaugage you have ever changed to/installed (like Japanese as you shown in your "fig.3".

    Please feel free to let me know how it goes.

    Best Regards,

    Manson | Microsoft Community Support Specialist

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-07-25T03:59:03+00:00

    If changing non-Unicode does not resolve this issue, I think we can further try a Windows clean boot:  How to perform a clean boot in WindowsDisclaimer: A “clean boot” starts Windows with a minimal set of drivers and startup programs. It helps to determine whether a background program is interfering with your game or program and to isolate the cause of a problem.These steps of "clean boot" might look complicated at first glance. However, to avoid any trouble for you, please follow them in order and step-by step so that it will help you get you back on track.If a Windows clean boot does not help neither, then we can try sfc and DISM:Use the System File Checker tool to repair missing or corrupted system files

    0 comments No comments
  3. Anonymous
    2022-07-22T07:23:43+00:00

    Thank you for your reply.

    > Issue Still Persist <

    I have tried step 1-4 and here are some results for different attempts:

    *the Beta版: 使用 Unicode UTF-8 提供全球语言支持 is unchecked originally, and stayed unchecked in try 1/ and try 2/.

    • 1/ change 当前系统区域设置 to 日语(日本) (Japanese), result shown as fig.2.1 below.
    • 2/ change 当前系统区域设置 to 中文(繁体,台湾) (Traditional Chinese in Taiwan), result shown as fig.2.2.
    • 3/ change 当前系统区域设置 to 中文(简体,中国) (mainland Chinese), but checked Beta版: 使用 Unicode UTF-8 提供全球语言支持, result shown as fig.2.3.

    It seens the issue still persist, and emerges similarly despite how 当前系统区域设置 is set for non-Unicode.

    • Also note that there is actually no multi languages installed due to the version(?) of my Windows OS do not allow multiple display language at the same time(in my understanding, shown as fig.2.4 ). The provided Japanese input method never work in a previous attempt, and it was when I realize there is such limitation for this Windows version/license/permission(?). And, even I have delete all other languages the situation did not improved. (Maybe a bit irrelevant)

    fig.2.1 change 当前系统区域设置 to 日语(日本) (Japanese)

    fig.2.2 change 当前系统区域设置 to 中文(繁体,台湾) (Traditional Chinese in Taiwan)

    fig.2.3 change 当前系统区域设置 to 中文(简体,中国) (mainland Chinese)

    fig.2.4 Language permission of current Windows OS

    *If you have confuse sbout the issue description in English, I can repost/edit describe them in Chinese.

    0 comments No comments