Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set console to UTF-8 on Windows #5969

Closed
kit-ty-kate opened this issue May 22, 2024 · 0 comments · Fixed by #5970
Closed

Set console to UTF-8 on Windows #5969

kit-ty-kate opened this issue May 22, 2024 · 0 comments · Fixed by #5970
Assignees

Comments

@kit-ty-kate
Copy link
Member

After writing dbuenzli/cmdliner#185 (comment) I was wondering if we could do what ocaml/ocaml#1408 does ourselves and call SetConsoleOutputCP(CP_UTF8) in a new Windows C stub function called at the beginning of the program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant