Define Selectable Report Encoding

By default, the export dialogs make all defined string encodings available in the encodings comboboxes. As the availability of all encodings is not necessary for most deployment scenarios, we implemeted a way to customize the available encodings.
The general availabilty can be defined by specifying the report configuration key "org.jfree.report.modules.gui.base.EncodingsAvailable". If the key is set to "all", then all supported encodings of the JDK are enabled and selectable. Setting the key to "none" will disable the encodings completly, and only the report's defined target encoding is visible and selectable.

If the configuration key is set to "file", then a encodings property file can be specified with the configuration key "org.jfree.report.modules.gui.base.EncodingsFile". The key should point to a properties file, which contains all selectable encodings. A sample for such a property file can be found as resource /org/jfree/report/modules/gui/base/components/jfreereport-encodings.properties" in the library and the sources.