Ecrion Software Inc. Homepage
Forum Home Forum Home > XF Rendering Server > XSL-FO
  New Posts New Posts RSS Feed: Report Generation in Russian Langauage
  FAQ FAQ  Forum Search   Register Register  Login Login

Report Generation in Russian Langauage

 Post Reply Post Reply
Author
Message / View First Unread Post
Ankur View Drop Down
Newbie
Newbie


Joined: 07 Jun 2011
Location: IN
Posts: 4
Post Options Post Options   Quote Ankur Quote  Post ReplyReply Direct Link To This Post Topic: Report Generation in Russian Langauage
    Posted: 10 Jun 2011 at 12:45am
Hi

I am Ankur. 

I need to generate a report in Russian Language. I am all ready generating reports in other language.

I am using XML ( which contains my data ) and XSL ( style Sheet)

I also configured fop.xconf like:

<font  metrics-url="/root/Desktop/26thMay_Localization_RND/lucon_ankur.xml" 
                          kerning="yes" 
                 embed-url="/root/Desktop/26thMay_Localization_RND/lucon.ttf">
           <font-triplet name="LUCON" style="normal" weight="normal"/>
   </font>

and XSL as :


<fo:block text-align="left" font-family="LUCON" font-style="normal" font-weight="normal" font-size="9pt"> 
Russian:

А Б В Г Д Е Ж З И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я 
а б в г д е ж з и й к л м н о п р с т у ф х ц ч ш щ ъ ы ь э ю я  
</fo:block>

and when i execute this command :  java  -jar fop.jar -d -c /usr/share/fop/conf/fop.xconf -xml Sample3Report.xml -xsl Sample3Report.xsl -ps 1.ps the output is not in russian language. Can someone please guide me ?
Back to Top
gabig View Drop Down
Admin Group
Admin Group


Joined: 06 Aug 2008
Posts: 144
Post Options Post Options   Quote gabig Quote  Post ReplyReply Direct Link To This Post Posted: 13 Jun 2011 at 10:37am
Hi,

This is an encoding issue. Find out which encoding FOP expects your input to be in and then resave your XSL-FO in that encoding. We do not actively support FOP however, so we cannot provide you with this information. UTF-8, UTF-16 and ISO-8859-2 are some possibilities you can try, but we can't guarantee the extents of FOP's Unicode support.

Regards,
Gabi
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz

This page was generated in 0.532 seconds.