Home >Database >Mysql Tutorial >mysql-prepareStatement executes mySql statement with Chinese garbled characters
Mysqljava Chinese garbled characters
url is set to ?characterEncoding=utf8. It doesn’t work anymore. I have been using the same project before and never had this problem. It just started to appear suddenly, whether it is splicing Chinese directly into the statement. Or using the method of assigning values to ? will not work,,,, what is the situation?,,,
Maybe there is something wrong with the encoding of the mysql database