in reply to Re^3: utf8 characters in tr/// or s///
in thread utf8 characters in tr/// or s///
If you see that in your input, then pack("C",...) is the right thing as the first step: it creates the appropriate byte sequence for the intended utf8 character. The utf8::decode() step then handles the necessary step of getting perl to acknowledge that the given byte sequence should be treated as a utf8 character.
|
|---|