Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    #encode char to byte for print
    print encode('UTF-8', $decoded)
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    #encode char to byte for print
    print encode('UTF-8', $decoded);
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    #now you can encode char to byte for print
    print encode('UTF-8', $chr);