[Israel.pm] Hebrew to UTF-8, completely out of ideas!

david istermann interDist at gmail.com
Sun Oct 24 12:56:26 PDT 2004


> I don't understand where $filepath comes from ...

It comes from `net files` which appears to be "windows-1255" on my system.

> you can have wide to be sub { decode 'cp1255', @_ }.

I tried this : return decode('windows-1255', shift @_); it didn't work
for me. The string gets converted to something unreadable instead of
Hebrew. Furthermore, when I print the string to stdout (בדיקה.doc in
the original) I get 14 characters for hebrew while there should be
only 10.


More information about the Perl mailing list