NanaZip
NanaZip copied to clipboard
命令行乱码问题 Garbled text on cli-interface
使用Windows Terminal 上的Powershell运行nanazipc压缩文件名带有中文的文件时,标准输出出现乱码,压缩文件内文件名正常。
Stdout is garbled when using nanazipc to add files which filename contains Chinsese,while the zip archive works normal.
未能在设备上复现该问题,希望提供更多信息。
设备信息: Windows 11 22000.348; (Windows 功能体验包 1000.22000.348.0);zh-CN;
There is a switch that can control charset for console output.
-scc{UTF-8|WIN|DOS} : set charset for for console input/output
My terminal uses UTF-8 as its charset, so adding -sccUTF-8
works for me.