Could i change to Enligsh base command line? #9730

Closed
opened 2026-01-31 02:02:23 +00:00 by claunia · 2 comments
Owner

Originally created by @CatCatCatDog on GitHub (Jul 22, 2020).

		{
            "guid": "{ffff0fff-3ffe-5ff6-ffff-afce00bbccdd}",
            "name": "cmd",
            "commandline": "%comspec% /k \"chcp 437\" 1> nul",
            "hidden": false
             }

My windows 10 is not English, if i run Windows terminal, I want to see English.
I Think, This solution is not good, Has anyone good idea for command line language change to English?

Originally created by @CatCatCatDog on GitHub (Jul 22, 2020). { "guid": "{ffff0fff-3ffe-5ff6-ffff-afce00bbccdd}", "name": "cmd", "commandline": "%comspec% /k \"chcp 437\" 1> nul", "hidden": false } My windows 10 is not English, if i run Windows terminal, I want to see English. I Think, This solution is not good, Has anyone good idea for command line language change to English?
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 02:02:23 +00:00
Author
Owner

@driver1998 commented on GitHub (Jul 26, 2020):

A lot of builtin Windows command line tools uses current character set as a clue of what language to display their messages in, not just CMD.EXE.

(This is why it is forced to use English when using CP65001, because using anything else is not going to work for everybody)

So before this limitation is sorted out (unlikely), I guess you'll have to do something like this.
Although I'll suggest you to use CP65001 instead of CP437, that way at least you can use Chinese (albeit in UTF-8 instead of GBK).

@driver1998 commented on GitHub (Jul 26, 2020): A lot of builtin Windows command line tools uses current character set as a clue of what language to display their messages in, not just CMD.EXE. (This is why it is forced to use English when using CP65001, because using anything else is not going to work for everybody) So before this limitation is sorted out (unlikely), I guess you'll have to do something like this. Although I'll suggest you to use CP65001 instead of CP437, that way at least you can use Chinese (albeit in UTF-8 instead of GBK).
Author
Owner

@DHowett commented on GitHub (Jul 27, 2020):

So, unfortunately, we can't control the language that CMD starts up in. Because it is tied to the legacy Windows localization system, it is going to follow the "operating system language" setting. I believe there are third-party products that will allow you to run multiple languages side-by-side and specify the language on a per-process basis. This isn't something Windows Terminal or the Console can help.

Sorry. ☹️

@DHowett commented on GitHub (Jul 27, 2020): So, unfortunately, we can't control the language that CMD starts up in. Because it is tied to the legacy Windows localization system, it is going to follow the "operating system language" setting. I believe there are third-party products that will allow you to run multiple languages side-by-side and specify the language on a per-process basis. This isn't something Windows Terminal or the Console can help. Sorry. ☹️
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9730