| |||||
|
How to Create a Multilingual JasperReport By: Manoj Debnath
Almost all modern software that renders text, such as a browser or text editor, supports Unicode fonts encoded with the UTF-8 or UTF-16 encoding mechanism. A Java reporting library such as JasperReport is no exception and provides APIs to load external Unicode fonts representing cultural scripting symbols. This feature can be leveraged to create report schemed with the combination of one or more language scripts. There are databases such as PostgreSQL which support the UTF-8 encoding scheme to persist records in languages other than English as well. However, the construction of words in various cultural languages is very different and often quite complex. For example, creating a report using Indic Unicode fonts that is culturally and linguistically correct and that also rendering them appropriately in a report viewer is still a challenging task. The article explores the idea and shows how to fetch Unicode characters persisted in a database and subsequently create a multilingual report with the help of the JasperReport library in Java.
Other Related Articles ... to read more DBA articles, visit http://dba.fyicenter.com/article/ |
||||