How would I convert UTF-8mb4 to UTF-8?
问题 I'm using docx4j to convert .docx files into html, then saving that data into a MySQL database. Unfortunately, we've hit a snag. When we convert a doc that includes any characters encoded in utf8mb4, and then try and submit that data to our MySQL server, we're hit with a Generic JDBC Exception which states that it doesn't know how to parse the utf8mb4 characters. ERROR pool-3-thread-20 org.hibernate.util.JDBCExceptionReporter - Incorrect string value: '\xEF\xBF\xBD???...' for column 'u