|
Re: French Characters in HTML report [message #719269 is a reply to message #719190] |
Fri, 26 August 2011 14:44 |
|
I am not certain it matters but have you tried setting the locale to fr_CA
instead of
FR_CA
Jason
On 8/26/2011 6:32 AM, sam wrote:
> We are using BIRT Viewer (Report) tags to display in paginated HTML. The
> rptDocument contains the right charcterset, b'cos the PDF and excel
> comes fine. But in HTML, they are not showing up in the right way. The
> DB charset is WE8MSWIN1252.
>
> We tried the following
> 1. Setting the charset to UTF-8/windows-1252 in meta tags of the jsp
> where we include the report tag.
> 2. In the servlet, where we call the jsp of report, we have set the
> request encoding to Cp1252
> 3. Set the locale to FR_CA in the report tag
>
> But still its not working. FYI, it works well in the default BIRT viewer.
>
> Any pointers will help us.
>
> Thanks
|
|
|
|
Re: French Characters in HTML report [message #719389 is a reply to message #719344] |
Fri, 26 August 2011 21:36 |
|
I was able to reproduce the issue. It appears there is a bug with the
report tag. Can you log a bugzilla entry for this? As a work around can
you use the viewer tag and turn off the toolbars or use iframe container
with report tag instead of div tag?
Jason
On 8/26/2011 2:44 PM, shekhar wrote:
> hi Jason I am part of Sam's team...
> we did the samething as u mentioned..I.e.,we have given fr_CA for locale...
>
> we tried the same rpt document with BIRT viewer (frameset servlet)..it
> is coming correctly...
>
> but we are facing problem with BIRT REPORT TAG..:(
|
|
|
|
|
|
Re: French Characters in HTML report [message #721118 is a reply to message #721027] |
Wed, 31 August 2011 22:43 |
|
How did you fix the original issue?
Jason
On 8/31/2011 2:10 PM, vavesw wrote:
> we had other problems having preview servlet.
> preview servlet spits out report embedded within HTML tags. But we need
> it as a reportlet as we show other stuff in the report. Hence we
> extended the report taglib code in our code fixed the original issue and
> used it.
>
> Thanks
|
|
|
|
Re: French Characters in HTML report [message #721163 is a reply to message #721149] |
Thu, 01 September 2011 04:13 |
|
Thanks for the update. Can you add that to the bugzilla entry so it
gets fixed?
Jason
On 8/31/2011 10:11 PM, vavesw wrote:
> Changed the following line
>
> String content = ByteArrayOutputStream.toString();
>
> to
>
> String content = ByteArrayOutputStream.toString("UTF-8");
>
>
> Thanks
> Swamy
|
|
|
Powered by
FUDForum. Page generated in 0.03910 seconds