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