Dear Linux people,

In addition to my previous message, I decided it's about time to
convert my Hebrew websites from Windows-1255 encoding to Unicode
(UTF-8).  (By the way, is it a smart decision?)

Anyway, since I didn't find a better way to do it - that's how I did
it: I opened each file that contains Hebrew text (English files didn't
need any conversion) with Windows Notepad, saved it as UTF-8 encoding,
then FTP'd it to my Linux server, converted it to unix using dos2unix,
edited it with pico and removed the first 3 characters, which are
created by Notepad but don't work well with PHP (at least my version,
PHP 4.4.2), then I FTP'd it back and replaced the original file.  The
problem is - it takes too much time for each file, and I have hundreds
of files.  And also, Notepad doesn't recognize these files as UTF-8
encoded files.  Is there a way to do it simultaneously to hundreds of
files?

Now, when I view these files with SSH, I get all these strange symbols
['���×��× ��×�¨�����×, ���×��× ��������×��× ��×�¢�(c)��,
�×�¨���������×��× ����¨��×, ���×��× ����� ��× ��(c),
�(c)�¢�¨���¨�¦��¤��', and that's a quote].  I also can't edit them
with the editors I currently use.  Do you know about good editors who
can edit UTF-8 encoded files, and also search and replace text within
many files simultaneously?  I also need the editor to run under
Windows, because that's the operating system I currently use, both at
home and at work (sorry).  And it has to be compatible with Linux and
PHP.

If you're interested - here's a website I converted:
http://www.pazgal.co.il/

And here's a website I didn't convert yet:
http://www.speedy.net/

By the way, one of the reasons I decided to convert the website to
UTF-8, is because Google displays the page descriptions backwards:
http://www.google.co.il/search?hl=iw&q=site%3Apazgal.co.il&meta=

Best Regards,
Uri Even-Chen

Reply via email to