title: "Incorrect string value" when trying to insert UTF-8 into MySQL via JDBC?
body: <p>This is how my connection is set:<br>
  <code>Connection conn = DriverManager.getConnection(url + dbName + "?useUnicode=true&amp;characterEncoding=utf-8", userName, password);</code></p>
  
  <p>And I'm getting the following error when tyring to add a row to a table:<br>
  <code>Incorrect string value: '\xF0\x90\x8D\x83\xF0\x90...' for column 'content' at row 1</code></p>
  
  <p>I'm inserting thousands of records, and I always get this error when the text contains \xF0 (i.e. the the incorrect string value always starts with \xF0).</p>
  
  <p>The column's collation is utf8_general_ci.</p>
  
  <p>What could be the problem?</p>