perl-unicode

Re: UTF-16 -> UTF-8

2001-11-21 00:11:15
On Wed, 21 Nov 2001 00:22:04 -0000, in perl.unicode you wrote:

Thank you for your help.

Hope it was of some help :)

But you said you wanted to convert from UTF-8 to UTF-16. So you probably
want something like

    $palavra_objeito = utf8($_);
    $palavra_em_utf16 = $palavra_objeito->utf16;

We've tried just that and the result wasn't what we expected...

What was the input? What was the output you expected? What was the
output you observed?

Cheers,
Philip

<Prev in Thread] Current Thread [Next in Thread>