|
Re: Displaying a trademark symbol! [message #775319 is a reply to message #775263] |
Thu, 05 January 2012 19:00 |
|
Dan,
What version of BIRT are you using?
Jason
On 1/5/2012 12:00 PM, Dan wrote:
> Hi --
>
> I've searched the forums and web but haven't found this question
> addressed...
>
> I have been trying to display a trademark symbol in my report. In a text
> field, I set it to "html" and enter text like this:
>
> <I>Does Italics work?</I> Company™
>
> It displays correctly in:
> 1. Birt's Preview mode
> 2. Using the PDF renderer
>
> It displays incorrectly using the HTML renderer.
>
> In all cases, the characters in italics display correctly. With the HTML
> renderer, the trademark is displayed as some odd character (â„¢)
>
> Is there a trick to getting dingbats and other characters to display?
>
> Thanks much,
> Dan
|
|
|
|
|
|
Re: Displaying a trademark symbol! [message #776961 is a reply to message #775954] |
Mon, 09 January 2012 15:36 |
|
Dan
I believe that is the default for html emitter.
Jason
On 1/6/2012 8:59 PM, Dan wrote:
> This is interesting! ;)
>
> I ran your tm.rptdesign report under the ReportEngine genReport.bat
> script. When I displayed the generated tm.html file, at first glance it
> looked like it was rendered correctly. But on closer inspection, I found
> that the trademark symbol was stored as the following hex characters:
> e2 84 a2
> rather than the string "™". I believe that e2 82 a2 is the UTF-8
> encoding for a trademark symbol.
>
> Here's a paste of the part of the generated html file in question:
> <td valign="top">
> <div style=" overflow:hidden;"><i>Does Italics work?</i> Company™</div>
> </td>
>
> For some reason, it seems that birt is translating the characters to
> UTF-8, even "™". Odd?
>
> Dan
>
>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04583 seconds