rodnikosh Posted December 11, 2012 Share Posted December 11, 2012 in Ireport 4.8.0 i need to write query with a "where" phrase that include a "UTF-8" word, like this:SELECT accounts.name AS accounts_name, accounts.billing_address_city AS accounts_billing_address_city FROM accounts accounts WHERE accounts.name = "מיינפורם"when i write it in Ireport, it doesn't find anything because it doesn't recognize the UTF-8 word in the where clause: when the same exact query does work in the MySQL database: So the problem is in the Ireport that deosn't recognize the UTF-8 word, how can i fix this? Link to comment Share on other sites More sharing options...
rodnikosh Posted December 11, 2012 Author Share Posted December 11, 2012 Solved it by defining a new database connection and this time with the following parameters:jdbc:postgresql://IPAddress/DatabaseName?useUnicode=true&characterEncoding=UTF-8From this point on, the report query started to return results. 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