Jump to content
Changes to the Jaspersoft community edition download ×

iReport changes XML encoding


jallaman

Recommended Posts

 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

  • 4 weeks later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...