Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Incorrect string value: '\\xF0\\x9F\\x91\\x8F\\xF0\\x9F...' (5 replies)

$
0
0
After updating from MySQL Connector/J 5.1.47 to 8.0.13, my service is sporadically getting into a state where any attempts of inserting Unicode values gives errors along the lines of:

Incorrect string value: '\\xF0\\x9F\\x91\\x8F\\xF0\\x9F...'

My database, table and columns are all set to utf8mb4. Historically I have not included any character encoding options in the URL, but I have tried including characterEncoding=UTF-8 and it did not help. My server is currently running with the following settings:

character_set_client: utf8mb4
character_set_database: utf8mb4
character_set_results: utf8mb4
character_set_connection: utf8mb4
collation_connection: utf8mb4_bin
collation_server: utf8mb4_bin
character_set_server: utf8mb4

I never had any issues on Connector/J 5.1.47. The trouble started after upgrading to 8.0.13. Is this a known problem? How can I further debug it?

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>