in reply to How do I convert text from UTF-8 to UTF-16LE in Perl
my $data = "some utf8 string";
Encode::from_to( $data, "utf8", "utf16le" );
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (300 votes). Check out past polls.