title: Mac Chrome and Mac Safari produces different unicodes
body: <p>I'm working on a legacy project where we use Java 6 with Spring, Grails, etc.</p>
  <p>The problem I'm running into, is that I have an file upload form, where we support support German filenames.
  In this case I have a file named something with &quot;für&quot; and I'm having difficulties with that now.</p>
  <p>I have tried converting it to unicode to see if that solved the problem but I am now able to see why there's a problem.
  On Mac Chrome, it produces U+308 while on Mac Safari it produces U+00FC, with Safari it works and inserts correctly in MySQL, the other one fails.</p>
  <p>The error from MySQL:</p>
  <pre><code>#1366 - Incorrect string value: '\xCC\x88r' for column `name` at row 1
  </code></pre>
  <p>When I try running this code:</p>
  <pre><code>UPDATE `X` SET `name` = 'für' WHERE `skabelon`.`id` = 1302
  </code></pre>
  <p>Why is there a difference and how can I fix it so it'll work with Chrome on Mac? Windows and Ubuntu Chrome works flawless.</p>
  <p><strong>UPDATE</strong><br>
  It's now working after Normalizing the string.</p>