Help for this page

Select Code to Download


  1. or download this
    # prepare original data for the database:
    
    ...
    from_to( $db_octets, "utf8", "euc-jp" );
    
    # now, $db_octets should be readable in an euc-jp display.
    
  2. or download this
    $utf8_string = decode( "utf8", $db_octets );
    
    ...
    
    print $utf8_string;