in reply to Re: Converting string literal represetation of utf to utf8
in thread Converting string literal represetation of utf to utf8

What didn't work:
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.

Replies are listed 'Best First'.
Re^3: Converting string literal represetation of utf to utf8
by moritz (Cardinal) on Jun 17, 2011 at 11:52 UTC