Reputation: 11
I am using JPA to insert into Mysql database and it is not able to persist symbols like double quotes(") or euro etc. instead of that it persist Que mark (?)
Upvotes: 1
Views: 750
Reputation: 570545
Looks like some "Unicode problem".
Double check that you are using UTF-8 as character encoding for your tables/database (or maybe even as default CHARACTER SET). See 9.1.3. Specifying Character Sets and Collations.
Upvotes: 2
Reputation: 1
Thanks for ur reply It is not Unicode related problem i checked my character set form db to app server It is UTF-8
if i type the symbol it get inserted into db correctly but if i copied form somewhere else it insert mojibake.
Upvotes: 0