Closed rcyggdra closed 4 months ago
Thanks for the report.
Because the command window does not support Chinese character output
You can see it supports Chinese characters already.
Probably, the cause is locale (like gb2312 and big5) for python. Tuw only supports user's default locale. So, it can show garbled strings if your python script changes the setting. I opened a new issue for it. Sync locale with child processes on Windows · Issue #36 · matyalatte/tuw
I use start cmd /k to run the command in a new CMD window. I want to cancel the pop-up window after running tuw. What should I do?
I opened another issue because there is nothing you can do for now. Option to disable message dialogues · Issue #37 · matyalatte/tuw
I'll close this issue because I added an option to skip the pop-up window at v0.7.0.
You can skip the dialog with "show_success_dialog": false
.
{
"gui": [
{
"label": "Option to skip success dialog",
"show_success_dialog": false,
"command": "echo Hello!",
"components": []
}
]
}
The garbled string issue will be addressed in #36.
Because the command window does not support Chinese character output, I use
start cmd /k
to run the command in a new CMD window. I want to cancel the pop-up window after running tuw. What should I do?