Closed kit-ty-kate closed 1 month ago
After writing https://github.com/dbuenzli/cmdliner/issues/185#issuecomment-2125463770 I was wondering if we could do what https://github.com/ocaml/ocaml/pull/1408 does ourselves and call SetConsoleOutputCP(CP_UTF8) in a new Windows C stub function called at the beginning of the program.
SetConsoleOutputCP(CP_UTF8)
After writing https://github.com/dbuenzli/cmdliner/issues/185#issuecomment-2125463770 I was wondering if we could do what https://github.com/ocaml/ocaml/pull/1408 does ourselves and call
SetConsoleOutputCP(CP_UTF8)
in a new Windows C stub function called at the beginning of the program.