noris
05-30-2007, 02:56 AM
Hello,
I managed to integrate Pentaho Dashboard into my webapp, but now I'm facing an enconding problem: Characters like ä, ü or ö are not displayed properly in the browser (see generated HTML code below)!
<CODE>
<h1 style='font-family:Arial'>This is Turnover for Region Süd</h1>
<table>
<tr>
<td valign="top"><span style="font-family:Arial;font-weight:bold">Select a Region By Clicking on the Pie Chart</span>
<center>
<br><map id="chart6" name="chart6">
<area shape="poly" coords="162,217,155,208,149,197,145,186,143,175,142,163,143,152,145,140,149,129,155,118,162,109,171,101,180,94,190,88,201,84,213,81,225,81,225,163,225,163" title="Region Süd = 2.766.830,59" alt="" href="SampleDashboard?region=Region+S%C3%BCd"/>
<area shape="poly" coords="225,81,238,82,252,85,264,91,275,98,285,107,294,118,300,130,305,144,307,158,307,171,304,185,300,197,293,209,284,220,274,229,262,236,249,242,236,245,222,246,209,244,196,240,184,235,172,227,162,217,225,163,225,163" title="Region Nord = 4.839.733,37" alt="" href="SampleDashboard?region=Region+Nord"/>
</map>
</CODE>
So the tooltip of the pie chart shows "Region Süd" insted of "Region Süd"!
and the region parameter in the drill-url looking like this
...region=Region+S%C3%BCd makes it impossible to drill down to office-level.
the following line of code in the jsp gets the encoding from context-parameter "encoding" in the web.xml, right? And this is UTF-8 by default, right?
response.setCharacterEncoding(LocaleHelper.getSystemEncoding());
The browser correctly uses UTF-8! But why does it not sho the characters properly?
I would really appreciate any help!
Thanks
noris
I managed to integrate Pentaho Dashboard into my webapp, but now I'm facing an enconding problem: Characters like ä, ü or ö are not displayed properly in the browser (see generated HTML code below)!
<CODE>
<h1 style='font-family:Arial'>This is Turnover for Region Süd</h1>
<table>
<tr>
<td valign="top"><span style="font-family:Arial;font-weight:bold">Select a Region By Clicking on the Pie Chart</span>
<center>
<br><map id="chart6" name="chart6">
<area shape="poly" coords="162,217,155,208,149,197,145,186,143,175,142,163,143,152,145,140,149,129,155,118,162,109,171,101,180,94,190,88,201,84,213,81,225,81,225,163,225,163" title="Region Süd = 2.766.830,59" alt="" href="SampleDashboard?region=Region+S%C3%BCd"/>
<area shape="poly" coords="225,81,238,82,252,85,264,91,275,98,285,107,294,118,300,130,305,144,307,158,307,171,304,185,300,197,293,209,284,220,274,229,262,236,249,242,236,245,222,246,209,244,196,240,184,235,172,227,162,217,225,163,225,163" title="Region Nord = 4.839.733,37" alt="" href="SampleDashboard?region=Region+Nord"/>
</map>
</CODE>
So the tooltip of the pie chart shows "Region Süd" insted of "Region Süd"!
and the region parameter in the drill-url looking like this
...region=Region+S%C3%BCd makes it impossible to drill down to office-level.
the following line of code in the jsp gets the encoding from context-parameter "encoding" in the web.xml, right? And this is UTF-8 by default, right?
response.setCharacterEncoding(LocaleHelper.getSystemEncoding());
The browser correctly uses UTF-8! But why does it not sho the characters properly?
I would really appreciate any help!
Thanks
noris