[Israel.pm] Hebrew strings in perl

Dov Levenglick dov.levenglick at gmail.com
Wed Nov 28 04:05:54 PST 2012


I haven't tried printing Hebrew strings in Perl yet, I seem to recall a
talk last YAPC and only having to add use utf8;

use utf8;
print "דוב";

why does this produce the following:
Wide character in print at Desktop\test.pl line 2.
דוב


Summary of my perl5 (revision 5 version 14 subversion 2) configuration:

  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
    uname='Win32 strawberryperl 5.14.2.1 #1 Tue Nov 22 21:00:59 2011 i386'
    config_args='undef'
    hint=recommended, useposix=true, d_sigaction=undef
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef


       בברכה  |  Best Regards,
דוב לוונגליק  |  Dov Levenglick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20121128/c87a1c18/attachment.htm 


More information about the Perl mailing list