Was just developing a Rails application with UTF-8 and noticed that characters where displayed wrong. After some examination of all headers etc. I researched a little and found that you simply have to edit /etc/netbeans.conf (for Mac users this is Contents/Resources/Netbeans/etc/netbeans.conf). Just insert a -J-Dfile.encoding=UTF-8 to netbeans_default_options.
February 23rd, 2009 at 12:19 pm
Thx, very handy article ;).
February 24th, 2009 at 9:36 am
it works, thx
March 3rd, 2009 at 5:28 pm
great, thx!
March 8th, 2009 at 8:52 am
it worked for farsi
thanks for your brief but useful article
March 22nd, 2009 at 10:06 pm
Hi,
thanks a lot for this. I was tearing my hair out trying to debug a mysql issue of he sort with netbeans only to understand by reading your article that it was displaying my variables with the wrong encoding (who would have thought)
Any idea why this setting isn’t the standard in netbeans? creation of files is already utf-8…
making the change to utf-8 in my apps has turned out to be reaaaaly difficult.
Ah well it is worth it
Kinda hate netbeans for wasting my time today hehe
many thanks,
Gregory Denturck - Brussels Belgium
March 31st, 2009 at 11:51 am
Awesome! Thanks!