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

Use CP_ACP over CP_OEMCP for output #1461

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ember91
Copy link

@ember91 ember91 commented Feb 27, 2025

CP_ACP makes more sense than CP_OEMCP. It is more common that applications use ACP over OEM.

Tested by inputting a file with unicode characters in its name. Now it is presented in the ACP. Also ran ctest -C RelWithDebInfo but I'm not sure if it tests those kinds of things.

An alternative would be to encode it as UTF-8. Then all unicode characters could be represented.

CP_ACP makes more sense than CP_OEMCP. It is more common that applications use ACP over OEM.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant