I can think of only two possible reasons why GetACP() is returning 65001:
The first one was already mentioned, the UTF-8 region setting.
The second one is that you modified your perl.exe manifest, specifically the activeCodePage property: https://learn.microsoft.com/en-us/windows/apps/design/globalizing/use-utf8-code-page
(Note that this is *not* something that can happen by accident)
In reply to Re: confusing result from Win32::GetACP()
by Anonymous Monk
in thread confusing result from Win32::GetACP()
by hexcoder
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |