谢谢你的付出 (@thanks)请教下,如何解决windows下opencode和claude code脚本输出中文乱码 中发帖

输出文本里面的内容,如果是中文的话就乱码。 
直接在powershell中运行是正常的,放到cc或opencode里面就乱码 
> uv run python .\test_excel.py
Sheet names: ['中文名1', '中文名2', '中文名3']

> uv run python .\test_txt.py
File content:
中文名1
中文名2
中文名3

 [image] 
[image]
 
 
Back to Top