I'm running NetBeans 6.9, can't seem to figure out where to set the encoding. I found some guides on google but all of them were for older versions.
相关问题
- Step by step instructions for getting cppunit up a
- ruby 1.9 wrong file encoding on windows
- org.jdesktop.application package doesn't exist
- WebElement.getText() function and utf8
- Does specifying the encoding in javac yield the sa
相关文章
- Java: Look and Feel
- C++ compiler error in netbeans
- How to escape @ sign inside JSDoc comments in NetB
- php: auto indent the whole code?
- Base64 Encoding: Illegal base64 character 3c
- read xml in UTF-8 in scala
- Does the img tag's alt attribute require encod
- Create src/test/resources in Maven Netbeans 8.x wi
In 6.9.1:
It SHOULD work that way and does work for anyone on the internet except me. On my Windows XP dev system files are still not saved as UTF-8. Still wondering why ...
The method by Mr. LordofFatality doesn't work for out-of-project files that you open via 'open file' menu.
In order to accomplish that, find a
netbeans.conf
file in younetbeans installation\etc\
, find there anetbeans_default_options
line and add there-J-Dfile.encoding=UTF-8
string.If you don't find the "netbeans_default_options" option there, add a whole new line that should read:
Relevant to NetBeans 7.2, also works in 7.4
P.S. the problem is present for several years and it's very strange to have such software now. Or I just missed that option, if it's the case, please notify me.
Good luck.
Your file should content one or more non-latin chars, this is why.
its bug always the editor saving my files as utf-8 without bom
See here !!!