"use utf8;" basically means "I have UTF8 characters in my source code. This
is useful if, for example, you define a string in the script with Hebrew
characters. You're basically telling perl to read your source code file as
UTF8 characters.

On Fri, Dec 28, 2012 at 2:52 AM, Shmuel Fomberg <[email protected]>wrote:

> Hi Moshe.
>
> It is not clear to me what is 'get them', and 'move it out'.
> But generally, when processing utf8 file, use ":utf8" in the open command.
> declaring "use utf8;" won't have any effect on reading your files.
>
> Shmuel.
>
>
> On Fri, Dec 28, 2012 at 7:28 AM, moshe nahmias <[email protected]>wrote:
>
>> Hi,
>> I was trying to get some strings in Hebrew from a file (the file is utf8,
>> at least as far as I know since I changed it with iconv) but wasn't able to
>> get them while use utf8 was in effect, when I tryed to move it out it
>> suddenly worked like a charm.
>> isn't it supposed to be the other way around? why utf8 is the problem
>> maker in this case?
>>
>> _______________________________________________
>> Perl mailing list
>> [email protected]
>> http://mail.perl.org.il/mailman/listinfo/perl
>>
>
>
> _______________________________________________
> Perl mailing list
> [email protected]
> http://mail.perl.org.il/mailman/listinfo/perl
>
_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to