How to add japanese characters into mysql database through jdbc?

Saturday, July 12, 2014

Whenever I try to add any japanese characters to the mysql database through jdbc, the characters are converted to question marks. I want to add those actual japanese characters. How can I do so?

There are similar questions on stackoverflow but none addresses the same issue as this.

PS. The mysql database is an AWS RDS database.