cheek icon indicating copy to clipboard operation
cheek copied to clipboard

Resolve Chinese character encoding issues in the command line

Open lnlion opened this issue 5 months ago • 2 comments

lnlion avatar Jun 09 '25 01:06 lnlion

Thanks a lot for the contribution 🙏

That said, this approach solves the issue specifically for Chinese output on Windows, but it’s a bit too platform- and encoding-specific to land in the main codebase as-is.

I’ve proposed a more generic solution in PR #273, which allows you to specify output encoding per job via YAML. Also added some minor verification tests and added it to the docs.

Would be highly appreciated if you can give #273 a try with something like below (I don't have access to a Windows machine so it's a bit tedious to mimick).

jobs:
  legacy_chinese_job:
    command: legacy-chinese.exe
    encoding: gb18030

bart6114 avatar Jun 18 '25 09:06 bart6114

Ping @lnlion

bart6114 avatar Jul 06 '25 19:07 bart6114