in reply to confusing result from Win32::GetACP()

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)

  • Comment on Re: confusing result from Win32::GetACP()

Replies are listed 'Best First'.
Re^2: confusing result from Win32::GetACP()
by ikegami (Patriarch) on Aug 27, 2025 at 22:59 UTC
      Sorry, I missed it somehow!