perl-unicode

Converting between UTF8 and local codepage without specifying local codepage

2005-11-07 15:39:13
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.