Hello again Anonymous Monk,
In this case you can use URI::Escape. See sample bellow:
#!/usr/bin/perl use strict; use warnings; use URI::Escape; use feature 'say'; my $str = "Character one: ω character two: ∞"; my $hex_code = uri_escape( $str ); say $hex_code; my $string = uri_unescape( $hex_code ); say $string; __END__ $ perl test.pl Character%20one%3A%20%CF%89%20character%20two%3A%20%E2%88%9E Character one: ω character two: ∞
Hope this helps, BR.
In reply to Re^3: PDF::API2 printing non ascii characters
by thanos1983
in thread PDF::API2 printing non ascii characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |