| Module Info
This module is misleading in its name and documentation: it mixes "code pages" (which are called "encodings" in the Perl world) with "language identifiers" and "locale identifiers".
More information about what code pages (as defined in the Win32 world) are: msdn.microsoft.com/en-us/library/wind...
Language identifiers: msdn.microsoft.com/en-us/library/wind...
Locale identifiers: msdn.microsoft.com/en-us/library/wind...
Also for the implementation, the module uses the registry which is not a official way of retrieving the information.
And last, it has no method to retrieve the OEM code page.
So see instead Win32::CodePage::Simple.
This module returns the default code page for your Windows system. I only needed the function "get_encoding" from this module. For my particular problem it returned the code page encoding correctly.