I have edited several files ISO-8859-15 encoded php source files with netbeans 6.7.1, but it converted them (without asking me!!!!) to utf-8,and I lost several german characters in that process...
I'm looking for a tool to find all the utf8 encoded files inside a directory (It's hard for me to tell which file has been broken).
I'd also need a tool to translate them
I'm trying to fix the whole thing with gedit, which recognizes and respects the charset of each file, but won't let me save utf8 files as iso-8859-15, because it says there characters that won't be converted...
so, I need:
a tool o search for utf8 encoded files
an editor that allows me to go from one encoding to another
oh yes!, a way to tell netbeans not to mess with my files!!!
(i have already tried with editing /etc/netbeans.conf and adding -J-Dfile.encoding=UTF-8, or -J-Dfile.encoding=ISO-8859-15 with no luck) http://wp.uberdose.com/2007/05/07/netbeans-and-utf-8/ http://ditoinfo.wordpress.com/2007/02/26/netbeans-and-utf8-encoding-2/
thanks a lot
edit:
(mmm I've just found this http://wiki.netbeans.org/FaqI18nProjectEncoding which says haw to modify characters encoding for a project, I'll give it a try here it explains the mess netbeans did
For a new IDE installation, UTF-8 encoding is the default for new projects, as this encoding can handle any Unicode characters, making it the best choice for most people. When you create a new project, the IDE initially defaults to giving it the same encoding as the last project on which you set the encoding. If you want another encoding, just change it in the properties dialog.
and I created a new project from existing php sources, I guess that's what went wrong... )