BIRT does not parse all Chinese characters in HTML [message #1668723] |
Thu, 12 March 2015 16:11 |
Reiner Killet Messages: 1 Registered: August 2013 |
Junior Member |
|
|
Dear BIRT power users,
an HTML contains Chinese characters encoded as &#[DECIMAL CODE];
This HTML is displayed in the report through a dynamic text tag.
PROBLEM:
Some of the chinese characters like 65292, 39640, 33267, 36164 etc.
are not unencoded. In the report you can see the character code .
It makes no difference when I change the output format form HTML to PDF. This seems to be a problem when parsing the HTML input.
I'm currently using 4.3.0 and 4.3.1. The problem occurs with the runtime as well as with the RCP designer.
Any idea?
I uploaded the template and the XML datasource.
Thanks for answering.
Reiner
[Updated on: Fri, 13 March 2015 14:18] Report message to a moderator
|
|
|
Re: BIRT does not parse all Chinese characters in HTML [message #1702474 is a reply to message #1668723] |
Wed, 22 July 2015 14:36 |
Mica J. Block Messages: 4 Registered: July 2009 |
Junior Member |
|
|
It is actually a bug in one of the Open Source resource files BIRT uses - Tidy.jar
This should fixed in the next release.
A fast work around is using the new library. Repackage it into the report.engine :
Steps:
Locate the plugin on:
For iHub:
Location to place is: \iHub\Jar\BIRT\platform\plugins
For BDPro:
Location to place is:: \BDPro\eclipse\plugins
For OS BIRT:
\eclipse\plugins
This is the jar to change the library: org.eclipse.birt.report.engine_X.X.X.vX.jar
Open with file extractor and replace with a newer version:
lib\Tidy.jar (attached newer version)
To ensure BDPro or OS BIRT, use clean in ini
add -clean on first line of eclipse.ini file
-
Attachment: Tidy.zip
(Size: 230.68KB, Downloaded 106 times)
[Updated on: Wed, 22 July 2015 14:38] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02832 seconds