Hello, my project use the stupid preprocessor #if #else etc, the file name is *.jpp
When I edit .jpp file in netbeans, I input Chinese words, and save, and compile.
I get warning 'utf-8 can not recognize char', and I open the created .java file,
the string should be Chinese words is worng! it is blank string!
It seems that only the .java file can set encoding in Tools | Options | Editing
| Java Source. But how to set non-java file 's encoding ?
maybe a silly question, but are you running in Chinese locale when running nb ?
also, can you attach a gif of what editor looks like with java file and also
the .jpp file, and tell what specific platform and locale you are running in ?
yes, I run netbeans in Chinese locale
I hope it is free to set encoding of any file in netbeans, not only .java file.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.
Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss