in reply to Re^2: Win32 encoding conversion mystery
in thread Win32 encoding conversion mystery

The actual code page you want is probably the one returned by "cp".Win32::GetOEMCP() or "cp".Win32::GetConsoleOutputCP(), not cp437. It's cp850 on my machine, for example. I think it's because I'm using "English (Canada)" instead of "English (US)".

Replies are listed 'Best First'.
Re^4: Win32 encoding conversion mystery
by mithaldu (Monk) on Aug 16, 2018 at 11:31 UTC
    Thanks for the additional info, that is useful. I amended the post.