Hello,
I have a database which contains data in Thai language. But my iReport is not reading this data. Can I know the steps to display Thai data in the report??
When I try to preview, I get the following error: ?Compiling to file... C:\Documents and Settings\admin\report3.jasper Compilation running time: 469! ?Filling report... ?Locale: Thai (THAILAND) ?Time zone: UCT (Coordinated Universal Time) Error?filling?print...?Unable?to?get?value?for?field?'date'?of?class?'java.lang.String' net.sf.jasperreports.engine.JRException:?Unable?to?get?value?for?field?'date'?of?class?'java.lang.String'? ????at?net.sf.jasperreports.engine.JRResultSetDataSource.getFieldValue(JRResultSetDataSource.java:313)? ????at?net.sf.jasperreports.engine.fill.JRFillDataset.setOldValues(JRFillDataset.java:823)? ????at?net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:787)? ????at?net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1474)? ????at?net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:125)? ????at?net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:938)? ????at?net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:841)? ????at?net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)? ????at?net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)? ????at?net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)? ????at?com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:858)? ????at?org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)? ????at?org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)? Caused?by:?java.sql.SQLException:?Unsupported?character?encoding?'TIS620'.? ????at?com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)? ????at?com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)? ????at?com.mysql.jdbc.SQLError.createSQLException(SQLError.java:926)? ????at?com.mysql.jdbc.ResultSetRow.getString(ResultSetRow.java:793)? ????at?com.mysql.jdbc.ByteArrayRow.getString(ByteArrayRow.java:67)? ????at?com.mysql.jdbc.ResultSetImpl.getStringInternal(ResultSetImpl.java:5571)? ????at?com.mysql.jdbc.ResultSetImpl.getString(ResultSetImpl.java:5448)? ????at?net.sf.jasperreports.engine.JRResultSetDataSource.getFieldValue(JRResultSetDataSource.java:235)? ????...?12?more? Print not filled. Try to use an EmptyDataSource...
Plz help..
Thanks and Regards, Rashmitha.B