[Israel.pm] use utf8 and hebrew from file
xsawyerx at gmail.com
Fri Dec 28 00:20:07 PST 2012
"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
On Fri, Dec 28, 2012 at 2:52 AM, Shmuel Fomberg <shmuelfomberg at gmail.com>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.
> On Fri, Dec 28, 2012 at 7:28 AM, moshe nahmias <moshegrey at ubuntu.com>wrote:
>> 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
>> Perl at perl.org.il
> Perl mailing list
> Perl at perl.org.il
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Perl