in reply to How do I convert text from UTF-8 to UTF-16LE in Perl

Try taking a look at the Unicode-Transform-0.32 module posted on CPAN. The basic idea is as follows: <SRC_UTF_NAME>_to_<DST_UTF_NAME>(CALLBACK, STRING). The code posted by JamesNC should also work.
  • Comment on Re: How do I convert text from UTF-8 to UTF-16LE in Perl