[Israel.pm] Encoding Question

ynon perek ynonperek at gmail.com
Thu Oct 11 07:51:05 PDT 2012


Hi All,

Quick encoding question: I have  a text string that I think is in cp1255,
because when I print it with Data::Dumper I get:

\x{5d4}\x{5e6}\x{5d2}\x{5ea}-\x{5de}\x{5e4}

But, when I try to decode it using:

my $decoded = decode('CP1255', $text);

I get this error:

Wide character in subroutine entry at
/Users/ynonperek/perl5/perlbrew/perls/perl-5.14.2/lib/5.14.2/darwin-2level/Encode.pm
line 174, <DATA> line 16.

Ideas ?

-- 

כותב הרצאות ? מדבר מול קהל ? הבלוג שלי לומד
לדבר<http://publicspeakr.blogspot.com/>כתוב במיוחד בשבילך.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.perl.org.il/pipermail/perl/attachments/20121011/80c0f4d6/attachment.htm 


More information about the Perl mailing list