in reply to Re^4: Can someone please write a *working* JSON module (Send money)
in thread Can someone please write a *working* JSON module
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