Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
          eval { decode($enc, $s); 'success' } || 'error'
       );
    }
    
  2. or download this
    UCS-2le:  success
    UTF-16le: error