This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The tooltip says "Encoding of the text file. Leave blank for default one". The property editor is normal String editor. The help system does not provide any explanation either.
It's not possible to determine possible encodings actually supported by the platform (or I didn't found a way). We can only provide a fixed list of encodings, which may or may not work (and there may be more of them unlisted) ==> such list is pretty useless. I will make the encoding property check whether the given encoding spec is supported by the platform + display a reasonable message. IMHO, this fall into an "ENHANCEMENT" category rather than defect - except for lacking documentation. John, would you please mention the property in the online docs ?
The encoding property is documented in the compiler pages, although the help page doesn't give a list of available formats. IF you have a list we'll be happy to put it in. I'm not sure where this info would fit in in the Java pages.
John, the encoding property on the file works together with encoding on the compiler: compiler's setting only controls how the compiler will operate on the file. The property on the file itself controls how the IDE will try to open, save the file. There's one another encoding property in Tools - Options - Editing - Java sources, which establishes a default for all java files. If someone needs to read the file, the file's property is queried first; if not set, the default is used. If the default is not set as well, platform-default encoding is used. Compiler can override this setting with its own encoding property value - but only for compilation purposes. BTW - it's a surprise that this is an I18N issue, what's the criteria for marking it so ?
I think this shows the general need to write a Help page for property sheets of Java objects. I'll write it up for 3.3.1 but it's not going to fit in 3.3 as this is the last day to add new pages.
Reassigning to myself/usersguide
Target milestone -> 3.3.1.
It could be very helpful to explain how netbeans handles encodings, where in the product encodings are used, and list of encodings supported if different than that of jdk. ken.frank@sun.com 03/10/2002
added a page to 3.3.1 help called "Setting Character Encoding for Java Files". Svata, could you please add a Help ID to the Text tab of java object property sheets so I can hook it to this page via CSH? Please add help id to the trunk and we'll mark it 3.3.2 candidate.
closing since the property is documented, i was only leaving it open so we could add a help id to the property sheet, we'll do that later.
verified
Consistent use of the I18N keyword.
Resolved for 3.4.x or earlier, no new info since then -> closing.