Jump to content

Brazilian Characterset


cinglez

Recommended Posts

 Hello to all.

I have followed the JasperServer Localization Guide, but I have not being successful. I need to create and use a resource bundle for Brazilian portuguese (pt_BR).

- I have created te .properties files

- I have included the bundle on applicationContext-security.xml

- It works IF there is no special characters. I have already changed the applicationContext.xml file:

<constructor-arg value="ISO-8859-1"/>

 

But special characters are still not displayed correctly. 

Any ideas? I have lost a lot of time on this...

Thanks in advance.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Search on Java bundles. Java specifies that only ascii characters may be used in resource bundles. (Well, that's not quite true. But ISO-8859-1 is quite close to ascii.) Non-ascii characters must be expressed as Unicode escape sequences. Many tools, like Jaspersoft's iReport, allow a developer to view and edit the Unicode characters while saving the underlying file with correctly escaped values. Alternatively, Java's native2ascii utility can be used to convert files. Refer to more details here:

 
Regards,
Matt

 

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...