Sign in to follow this  
FlorianHarvest

Problem encoding euro symbol in chart

Recommended Posts

I'm using embed tag to generate my chart.

 

 

 

attribute dataurl has an url which generate a XML.

 

(dataurl =/HvsCeg2008.1.004/chart/typechartdispatcher.do?prjref=5bb80bf6-b826-417c-b990-3a4302178e7f&_cancelToken=true&chartId=resultsChartId&chartType=MSCombiDY2D&width=665&height=170&imgType=swf)

 

 

 

all my characters are correctly rendered (even accents such

Edited by Guest

Share this post


Link to post
Share on other sites

thanks for the response but unfortunately i even read and tried this solution...

 

 

 

it seems to be an encoding problem in the httpservletresponse but i'm not sure...

 

 

 

When the XML datas are in a physical file, the "dataURL" render the euro symbol, but when it's an URL , this symbol is not rendered :D

Share this post


Link to post
Share on other sites

Hi I forced my String to be encoded in ISO-8859-15 , and now it's OK :D

 

 

 

new String(myXmlString.getBytes(), "ISO-8859-15")

 

 

 

myXmlString contains this attribute written like that : "numberSuffix='

Share this post


Link to post
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
Sign in to follow this