posted 12 years ago
Hi,
I currently have some fields in tables in the mysql database defined with the "collation utf8 default" for internationalisation. I currently retrieve my data from the database using prepared statements ie resultsets ,for example
rs being ResultSet but when I retrieve the utf8 fields, they return ??? instead of the utf-8 field I require. Any idea where is the best place to set this encoding, is it within the resultset itself when I'm retrieving and how do I go about this? The fields in the database tables are set correctly. Thanks in advance.