- or download this
my $Str = 'äöüÄÖÜß' . "\n";
- or download this
use v5.14;
use warnings;
...
#warn sprintf "%vX", $str; # E4.F6.FC.C4.D6.DC.DF
say $str;
- or download this
use v5.14;
use warnings;
...
#warn sprintf "%vX", $str; # E4.F6.FC.C4.D6.DC.DF
say $str;
- or download this
>chcp
Active code page: 65001 # My machine use UTF-8 for the console.
...
>perl -Mv5.14 -ne"say sprintf '%vX', $_" a
C3.A4.C3.B6.C3.BC.C3.84.C3.96.C3.9C.C3.9F.A # UTF-8 of äöüÄÖÜß