in reply to How do I convert text from UTF-8 to UTF-16LE in Perl
I think Encode does what you want...
JamesNC
use Encode; my $data = "some utf8 string"; Encode::from_to( $data, "utf8", "utf16le" ); print $data;
JamesNC
|
---|
In Section
Seekers of Perl Wisdom