in reply to Re^4: confusing result from Win32::GetACP()
in thread confusing result from Win32::GetACP()

IMO getting the perl manifest changed to use ACP 65001 is the ideal configuration, anyway. This allows you to write unicode filenames on Windows the same as on Linux (encode to utf-8 first). Otherwise if you want to write a character that isn't in your codepage you need a bunch of special cases like if ($^O eq 'MSWin32') { OpenFileW($name); ... }

Replies are listed 'Best First'.
Re^6: confusing result from Win32::GetACP()
by ikegami (Patriarch) on Aug 27, 2025 at 23:01 UTC

    Aye. I created a ticket for this a while ago.