in reply to Re^4: Is there a variable or function equivalent to APR_LOCALE_CHARSET (native platform encoding)
in thread Is there a variable or function that returns the native platform encoding (APR_LOCALE_CHARSET)

Ok, start thinking again :P
I don't see where it says that at all, observe grep nix / grep win, grep nix / grep win
I18N::LangTags::Detect...It will also use the Win32::Locale module, if it's installed.
so I18N::LangTags::Detect is your module.
  • Comment on Re^5: Is there a variable or function equivalent to APR_LOCALE_CHARSET (native platform encoding)