my $a = "\\xC4\\x80"; utf8::decode($a); # does not work, \\x are literal ascii. # is still the same. $a =~ s/\\x(\w\w)/\x$1/g; # Does not work. \x is interpreted withou +t the code points.
In reply to Re^2: Converting string literal represetation of utf to utf8
by djihed
in thread Converting string literal represetation of utf to utf8
by djihed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |