Converting between UTF8 and local codepage without specifying local codepage
[email protected] (David Schlegel)
| Newsgroups | perl.unicode |
|---|---|
| Message-ID | <OFDCDDB0D6.CB173414-ON852570B2.0073FD93-852570B2.0073863C@us.ibm.com> |
Is there someway to convert from "whatever" the local codepage is to utf8 and back again ? The Encode::encode and decode routines require passing a specific codepage to do the conversion but finding out what the "local codepage" is is very tricky across different platforms, particularly UNIX where it is hard to determine.