Skip Menu |

This queue is for tickets about the Term-Encoding CPAN distribution.

Report information
The Basics
Id: 128430
Status: new
Priority: 0/
Queue: Term-Encoding

People
Owner: Nobody in particular
Requestors: ishigaki [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Wrong code page under some (rare) condition
Win32::Console::OutputCP() returns 0 if the function fails for some reason (eg. no console). In that case, Term::Encoding returns invalid code page "cp0". https://docs.microsoft.com/en-us/windows/console/getconsoleoutputcp https://docs.microsoft.com/en-us/windows/desktop/Intl/code-page-identifiers