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 reply to Re^5: Can someone please write a *working* JSON module (Send money)
by Corion
in thread Can someone please write a *working* JSON module
by cnd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |