I am getting issue while persisting some strings with special characters, For eg:Livaković. In database it's getting saved as Livakovi?. My Jdbc string is as follows:
jdbc:mysql://localhost:3306/MyDb?autoReconnect=true&useUnicode=true&connectionCollation=utf8_general_ci&characterSetResults=utf8&useSSL=false
My DB Character Set is as follows:-
Mysql Version is 5.6.
I am already using useUnicode=true and characterSetResults=utf8 in jdbc connection string but still special characters are not getting correctly in DB.
below is the result of show create-
CREATE TABLE `table_name` (
`id` varchar(64) NOT NULL,
`name` varchar(64) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
Can anyone suggest ?
Thanks,