use Encode; my $data = "some utf8 string"; Encode::from_to( $data, "utf8", "utf16le" ); print $data;
In reply to Re: How do I convert text from UTF-8 to UTF-16LE in Perl
by JamesNC
in thread How do I convert text from UTF-8 to UTF-16LE in Perl
by jira0004
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |