Jump to content
Changes to the Jaspersoft community edition download ×

Which encoding to use on Linux?


2005 IR Help

Recommended Posts

By: Michael - seimic

Which encoding to use on Linux?

2004-11-09 08:41

Can anybody tell me which one encoding to use

for jasperreports on linux?

 

I have some problems with the special german characters (Umlaute 䶼ߩ.

They does not appear on the report, when a report file is compiled (XML->Jasper using JasperManager.compile...).

The same characters are OK on the detail band, when filling a report from database.

 

I tried the following encoding for the XML-Files

 

- file format UNIX, UTF-8 in header

- file format UNIX, cp1252 in header

- file format ANSI, ISO-8859-1 in header

- file format ANSI, ISO-8859-1 in header

- file format ANSI, ISO-8859-15 in header

 

but nothing works.

The encoding in the JRE is 'ISO-8859-15' because of

the environment variable LANG="de_DE@euro";

 

I use the 'dori.jasper.engine.design.JRJdk13Compiler'

which uses tools.jar to compile a report.

 

What's the problem here? Are this the temporary generated java files? the tools.jar compiler?

 

Help? ;(

 

Michael

 

 

 

 

By: Tobias Gaekle - ike987

RE: Which encoding to use on Linux?

2004-11-09 09:23

try setting the file.encoding system property, mine is set to UTF8. to see whether your temp java files are properly written to disk, you can define a temp path using jasper.reports.compile.temp and set jasper.reports.compile.keep.java.file=true.

 

 

 

 

By: Michael - seimic

RE: Which encoding to use on Linux?

2004-11-09 10:35

Thanks, huh, got the bug ;-)

UTF-8, DOS works fine.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...