laziness, impatience, and hubris | |
PerlMonks |
Re: En/Decode a unicode pathby LanX (Saint) |
on Jan 22, 2023 at 11:24 UTC ( [id://11149760]=note: print w/replies, xml ) | Need Help?? |
Please provide a SSCCE because there are too many ways to (mis)understand your question. In general any Perl function should be able to deal decoded strings (i.e. converted to the internal unicode character format, hence the string has the so called UTF8 flag activated). Some (like JSON::decode_json) don't and expect encoded octet strings, so you need to check the documentation.
editsee Encode for details
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|