Hi all,

I have a problem printing a file encoded as UTF8.

I have tried using the following script:

use Unicode::String qw(utf8);

my $text = "astaîâSTAÎÂz";

my $t = utf8($text);

print $t;

The result printed on the screen or in a file is just "az" and not the whole
string.

I would like those non english special chars be converted as UTF8 chars.

Do you know what is the problem?

Thank you.

Teddy,
teddy.fcc.ro     [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to