Not sure what you're asking... It seems to me you're using
Encode::encode_utf8 and
Data::Dump::dd? If so, two things happened:
-
"Karl Dämlich" was encoded in utf-8:
$customer = encode_utf8($customer);
-
The encoded form of "Karl Dämlich" was displayed by Data::Dump::dd as "Karl D\xC3\xA4mlich". The cursory scan of the Data::Dump's source suggests that it was done by the quote function:
sub quote {
...
s/([\0-\037\177-\377])/sprintf('\\x%02X',ord($1))/eg;
...
}
presumably to make its representation unambiguous.