jallaman Posted August 18, 2011 Share Posted August 18, 2011 Hi,I have a problem with iReport changing the XML encoding of a document that has been created outside iReport. I need the encoding to be ISO-8859-1 - however, when saving the document, iReport changes the encoding to UTF-8. When I downloaded an earlier version (2.0.4), there was an option under report properties -> i18n, where one could set the XML encoding.Has this feature been removed? I cannot seem to find it anywhere.In advance, thanks. Link to comment Share on other sites More sharing options...
jallaman Posted September 9, 2011 Author Share Posted September 9, 2011 bump Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted September 9, 2011 Share Posted September 9, 2011 You can force NetBeans to operate with a certain file encoding by changing the config file in:<ireport install>/etc/ireport.conf Find the line that starts with "default_options="go to the end of it, and insert (before the quotation mark) this "-J-Dfile.encoding=ISO-8859-1" (without the quotes).Now iReport will force the use of this encoding.I did not test it.Giulio Link to comment Share on other sites More sharing options...
jallaman Posted September 12, 2011 Author Share Posted September 12, 2011 Thanks for the reply. I've tried this, and it does not work. It still changes encoding to UTF-8.Any other suggestions? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now