title: Wordpress/Apache - 404 error with unicode characters in image filenames
body: <p>We've recently moved a website to a new server, and are running into an odd issue where some uploaded images with unicode characters in the filename are giving us a 404 error.</p>
  
  <p>Via ssh/FTP, we can see that the files are definitely there.</p>
  
  <p>For example:</p>
  
  <p><a href="http://sjofasting.no/project/adnoy" rel="noreferrer">http://sjofasting.no/project/adnoy</a></p>
  
  <p>none of the images are working:</p>
  
  <p>Code:</p>
  
  <pre><code>&lt;img class='image-display' title='' src='http://sjofasting.no/wp/wp-content/uploads/2012/03/ådnøy_1_2.jpg' width='685' height='484'/&gt;
  </code></pre>
  
  <p>SSH:</p>
  
  <blockquote>
    <p>-rw-r--r-- 1 xxxxxxxx xxxxxxxx  836813 Aug  3 16:12 ådnøy_1_2.jpg</p>
  </blockquote>
  
  <p>What is also strange is that if you navigate to the directory you can even click on the image and it works:</p>
  
  <p><a href="http://sjofasting.no/wp/wp-content/uploads/2012/03/" rel="noreferrer">http://sjofasting.no/wp/wp-content/uploads/2012/03/</a></p>
  
  <p>click on 'ådnøy_1_2.jpg' and it works.</p>
  
  <p>Somehow wordpress is generating</p>
  
  <blockquote>
    <p><a href="http://sjofasting.no/wp/wp-content/uploads/2012/03" rel="noreferrer">http://sjofasting.no/wp/wp-content/uploads/2012/03</a>/ådnøy_1_2.jpg</p>
  </blockquote>
  
  <p>and copying from the direct folder browse is generating</p>
  
  <blockquote>
    <p><a href="http://sjofasting.no/wp/wp-content/uploads/2012/03/a%CC%8Adn%C3%B8y_1_2.jpg" rel="noreferrer">http://sjofasting.no/wp/wp-content/uploads/2012/03/a%CC%8Adn%C3%B8y_1_2.jpg</a></p>
  </blockquote>
  
  <p>What is going on??</p>
  
  <hr>
  
  <p>edit:</p>
  
  <p>If I copy the image url from the wordpress source I get:</p>
  
  <p><a href="http://sjofasting.no/wp/wp-content/uploads/2011/11/Bore-Strand-Hotellg%C3%A5rd-12.jpg" rel="noreferrer">http://sjofasting.no/wp/wp-content/uploads/2011/11/Bore-Strand-Hotellg%C3%A5rd-12.jpg</a></p>
  
  <p>When copied from the apache browser I get:</p>
  
  <p><a href="http://sjofasting.no/wp/wp-content/uploads/2011/11/Bore-Strand-Hotellga%cc%8ard-12.jpg" rel="noreferrer">http://sjofasting.no/wp/wp-content/uploads/2011/11/Bore-Strand-Hotellga%cc%8ard-12.jpg</a></p>
  
  <p>What could account for this discrepancy between:
  %C3%A5 and %cc%8</p>
  
  <p>??</p>