BIRT Exchange Forum: Unicode Support BIRT - BIRT Exchange Forum

Jump to content


 

No Latest Open Poll.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Unicode Support BIRT Rate Topic: -----

#1 User is offline   Dhruva Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 05-April 11


Posted 24 April 2012 - 02:36 AM

HI all ,

I have a major problem with special charters and HTML characters in the report which i designed. Kindly help me as this is very critical to us.

Application is capturing the data in the tinymce editor field, data is saved in db as below


This is a editor column to check if the special characters are displayed or not .. Exclmation = ! , at the rate = @ , hash = # , dollar $ , percentage = % , superscript ^ , and = & , asterik = * , smal bracket open = ( , small bracket closee = ) , flower bracket = { } , semi colon : , " > < ? / | \


But displayed as below

This is a editor column to check if the special characters are displayed or not .. Exclmation = ! , at the rate = @ , hash = # , dollar $ , percentage = % , superscript ^ , and = &amp; , asterik = * , smal bracket open = &nbsp;( , small bracket closee = ) , flower bracket = { } , semi colon : , &quot; &gt; &lt; ? / | \



The above are the examples only , there might be a lot of it.

The data might contain Special characters German, Japanese language etc... we wanted to display all these language data in the report.

Kindly help ASAP.

Thanks in advance.
0

#2 User is offline   cbrell Icon

  • Member
  • Group: Members
  • Posts: 523
  • Joined: 17-March 09


Posted 24 April 2012 - 03:31 AM

Hi,

this issue doesn't seem to be unicode related. As far as i know Tinymce replaces all special characters with the corresponding HTML entities. I m assuming that the data is already saved as html in your database.

BIRT is assuming that all data in database is as is. Which means it prints out the text in the same way as it is in the database (so html encoding happens twice).

You have two different solutions:
- configure tinymce to not replace special characters with the corresponding HTML entity
- use dynamic text elements to print out corresponding text columns: The dynamic text element is assuming that the text is html and doesn't encode the text.
Interested to join BIRT User Group Mannheim (Germany)?
Have a look at: http://www.xing.com/...-group-mannheim or write me an email
0

#3 User is offline   Dhruva Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 05-April 11


Posted 24 April 2012 - 04:32 AM

Dear friend ,

Thanks a bunch :)
" use dynamic text elements to print out corresponding text columns: The dynamic text element is assuming that the text is html and doesn't encode the text."

The above reply of your's helped me . I was able to solve the issue :)


View Postcbrell, on 24 April 2012 - 03:31 AM, said:

Hi,

this issue doesn't seem to be unicode related. As far as i know Tinymce replaces all special characters with the corresponding HTML entities. I m assuming that the data is already saved as html in your database.

BIRT is assuming that all data in database is as is. Which means it prints out the text in the same way as it is in the database (so html encoding happens twice).

You have two different solutions:
- configure tinymce to not replace special characters with the corresponding HTML entity
- use dynamic text elements to print out corresponding text columns: The dynamic text element is assuming that the text is html and doesn't encode the text.

0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users