I have ensured my java program is taking and passing utf-8 into the mysql inserts but I see question marks in the database.
I did a
ALTER DATABASE dbname CHARACTER SET utf8 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT COLLATE utf8_general_ci ;
AND
ALTER TABLE users DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
But still the UTF character codes are not getting inserted? Anything obvious that I am missing?
I did a
ALTER DATABASE dbname CHARACTER SET utf8 DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT COLLATE utf8_general_ci ;
AND
ALTER TABLE users DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
But still the UTF character codes are not getting inserted? Anything obvious that I am missing?
Comment