2005 IR Help Posted August 27, 2006 Share Posted August 27, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now