I know how to change the character encoding. Its just that the encoding that i'm looking for doesn't seem to exist. For example in other text editors like notepad++ and ultra edit will allow you to save utf-8 files with or without BOM. I'm guessing this option isn't available in eclipse, anybody know of a workaround or plugin?
Main Topics
Browse All Topics





by: adrpoPosted on 2008-03-10 at 23:49:27ID: 21093508
Look here:
http://www.experts-exchang
and here:
http://bugs.php.net/bug.ph
It seems that this is a bug in PHP. You could start php with:
--enable-zend-multibyte
Also, you can specify the encoding of php files from Eclipse.
See the attached image. You reach that via:
Window->Preferences->Gener
Select Text in the right part, Select PHP Content Type.
Select all files, and write in the Default Encoding field at the bottom: UTF8.
Cheers,
za-k/
Eclipse PHP Encoding