in reply to En/Decode a unicode path
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.
see Encode for details
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: En/Decode a unicode path
by exilepanda (Friar) on Jan 23, 2023 at 13:42 UTC | |
by Corion (Patriarch) on Jan 23, 2023 at 14:30 UTC |