PDA

View Full Version : File with Hebrew in it - opens with gibberish


ruffy
10-25-2009, 12:32 PM
Years ago, using PHP 4, and Homesite on Windows,
I created a PHP array in a php file. The file contained
Hebrew text in some array entries.

Now, using PHP 5 on a Mac development environment,
I want to rejuvenate the old code. But I cannot open
that php array file without the Hebrew therein being
transformed into illegible characters.

Echoing the output yields gibberish as well.

I now use TextWrangler 3.0 as my text editor.
(I tried opening using TextEdit, but it too fails
to display the stuff properly).

Can you help me reslove this problem? Thanks much.