cmder: It is not work properly in windows 11

Purpose of the issue

  • Bug report (encountered problems/errors)
  • Feature request (request for new functionality)
  • Question

Version Information

Cmder 1.3.18 ConEmu 210912 [64] stable

Windows 11 Pro 22000.282

Description of the issue

In windows11,Cmder doesn’t work properly, and the highlighted syntax and syntax prompt are invalid. cmder_in_win11

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 36 (17 by maintainers)

Most upvoted comments

Clink v1.2.42 should fix the issue with non-ASCII account names even when the system code page is not UTF8.

It might be anti virus blocking Clink from running.

See #2546 for troubleshooting.

Overview: download the latest clink ZIP file from here, and extra the contents into Cmder’s vendor\clink sub-directory. Then start Cmder, and share the config\clink.log file here (under Cmder’s root directory).

Who have the same problem, just active “Beta: UTF8”, download de Clink below and replace all on the cmder/vendor/clink

Clink v1.2.42 should fix the issue with non-ASCII account names even when the system code page is not UTF8.

I think you must have set UTF8 as the system code page on Win10, but didn’t set that up yet on Win11.

Clink is accidentally passing a UTF8 string to the system API that expects a string using the system code page. The only way that could be working on Win10 is if you set the system code page to be UTF8, which is not the default. And the Win11 computers must be using the default still, instead, thus it’s not working on them.

Anyway, the next update of Clink will fix that.

Or you can set the Win11 computers to use UTF8, and that would also make it work without updating Clink.

Now everything is normal

Thank you for your patience to help me solve the problem.

I think you must have set UTF8 as the system code page on Win10, but didn’t set that up yet on Win11.

Clink is accidentally passing a UTF8 string to the system API that expects a string using the system code page. The only way that could be working on Win10 is if you set the system code page to be UTF8, which is not the default. And the Win11 computers must be using the default still, instead, thus it’s not working on them.

Anyway, the next update of Clink will fix that.

Or you can set the Win11 computers to use UTF8, and that would also make it work without updating Clink.

You are right ! I set it ,and it works now!

Snipaste_2021-11-07_13-26-54

Snipaste_2021-11-07_13-25-11