Hi,
GetACP() returns a value which indicates what your current codepage is. For the UTF-8 codepage, this returns 65001, if the system's locale is set to English United Kingdom (for example), GetACP will return 1252.
Maybe you can try to change the system’s locale and rebooting and check if it works.
Here are some docs about how to change the system’s locale and the Code Page Identifiers for Windows ANSI:
https://learn.microsoft.com/en-us/windows-hardware/customize/desktop/unattend/microsoft-windows-international-core-winpe-systemlocale
https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
Thanks for your time!
Best Regards,
Mico Mi
-----------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.