title: php Unittest to reproduce Illegal mix of collations error
body: <p>I am working on a project where in production i received an <code>Illegal mix of collations</code> error from mysql.</p>
  <p>The error shows the diamonds but i cant copy paste the string to use in my unittest. I want to reproduce this issue in a unittest, so i can fix it. But im stuck finding out what the string contained or what characters i could use to reproduce this issue.</p>
  <pre><code>Illuminate\Database\QueryException
  SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8mb4_unicode_ci,COERCIBLE) for operation '=' (SQL: select exists(select * from `table` where `field` = 1����%2527%2522) as `exists`)
  </code></pre>
  <p>What to do to reproduce this behaviour in a test?</p>