Think about Loose Coupling | |
PerlMonks |
Re^5: Can someone please write a *working* JSON module (Send money)by Corion (Patriarch) |
on Oct 24, 2021 at 11:22 UTC ( [id://11137962]=note: print w/replies, xml ) | Need Help?? |
See Encode::Unicode for the translations between the various Unicode encodings. I think converting from UTF-16 to UTF-8 is merely a mathematical transformation between two encoding styles of the same number, so you can easily model that. I'm not sure how easy it is to determine whether a backslash-escaped sequence is UTF-8 or UTF-16, but maybe if it's just two characters, it's UTF-8.
In Section
Seekers of Perl Wisdom
|
|