[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Grid export  XML
Forum Index -> Development
Author Message
deftereos

Power User

Joined: 05/05/2011 13:49:24
Messages: 100
Offline

When a grid contains non Latin characters then using the "onOpenGridFunctions" the exported pdf file does not display at all the non Latin characters. Moreover the csv file contains the characters but they are unreadable.

Any ideas for the cause or a solution?

Regards,
Makis

Gerasimos Makis Defteraios

[MSN]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5523
Offline

Hi,

the export by default exports via unicode UTF-8, which is typically not, what e.g. MS Excel wants to have...

In the system.xml you can configure the output format in the section:
Code:
      <fixgrid
         persistence="org.eclnt.jsfserver.util.fixgridpersistence.DefaultFIXGRIDPersistence"
         exportcharactersetcsv="UTF-8"
         exportcharactersetxml="UTF-8"
      />
 


Please chech the template file, if you do not find it in you system.xml definition. (Both in webcontent/eclntjsfserver/config)

This should help...

Regards, Björn

Björn Müller, CaptainCasa GmbH
deftereos

Power User

Joined: 05/05/2011 13:49:24
Messages: 100
Offline


Still having problems... even though I tried several encodings in the system.xml .

PS. After going through the CaptainCasa Demo Workplace I found that the "Print Jasper Report" example gives an exception (It cannot read c:\temp\jr.xml)

Makis

Gerasimos Makis Defteraios

[MSN]
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team