ldcl289 Posted June 23, 2010 Share Posted June 23, 2010 How can I add a "set names 'latin'" to execute previous the real query, that because I have problems with some character like "ñ" and acents.I try adding the line in the begin of <queryString> but doesn't work, it give me a sql error.I try differents ways but nothing work!!Can somebody helpme? Code:<queryString><![CDATA[sET NAMES 'latin1';SELECT p.id AS 'id'.... Link to comment Share on other sites More sharing options...
lucianc Posted July 1, 2010 Share Posted July 1, 2010 You can't do that in the report query. If you run the reports from your own code, you can prepare the connection before sending it to the report. Or you can look for a JDBC parameter that sets the character encoding.Regards,Lucian 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