Skip to content

Run under cmd with default codepage 65001 #237

@We-unite

Description

@We-unite

I used w64devkit in cmd in win10 before, under the default codepage ANSI(chcp 936. It works well. Now I modified the default codepage of cmd to UTF-8 (chcp 65001) by modifying HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe\CodePage of the registry. Then I noticed that running the commands in w64devkit directly in cmd (ls, mv, bash, etc.) echos nothing and seems to be stuck; However, if I run the chcp commands (chcp 936, or even chcp 65001) after cmd starts, it is normal to use these commands again.

Issue #162 mentioned that the distributed busybox doesn't support Unicode, but I'm not sure if that relates to what I'm talking about.

So I would like to ask, why does the default setting 65001 causes error, but then chcp 65001 make everything normal?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions