On 02 Jun 2008 08:24:35 +0300, Oren Maurer wrote:
> 
> One small question:
> The "use Encode qw{decode_utf8};" - is it equivalent of  "use utf8; " ??

No. The first just imports function "decode_utf8", and the second affects
the way all non-ascii characters in your source code are treated. But by
running decode_utf8() on non-ascii strings/bytes (static or dynamic) you
may achieve the similar goal.

perldoc utf8; man Encode

Regards,
Mikhael.

-- 
perl -e 'print+chr(64+hex)for+split//,d9b815c07f9b8d1e'
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to