Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Converting character encodings

by Anonymous Monk
on Jun 04, 2001 at 00:51 UTC ( [id://85370] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        use Encode qw(encode decode);
    
        my $iso_data=encode('iso-8859-1',decode('UTF-8',$utf8_data));
    
  2. or download this
    koi8-r
    dingbats
    ...
    cp1250
    iso-8859-16
    posix-bc