Closed littlewhitecloud closed 10 months ago
successed in cplusplus with printf, but failed in jou with printf
Encodings are really hard to get right on Windows. I haven't put any effort into that with Jou. For now you could try different terminals (cmd.exe, git bash, powershell).
I just found the solution: chcp 65001
If it only happeneds on windows, maybe I can add a check(If output char is chinese, do chcp 65001
)
Result:
Is there something wrong with encoding settings? code: