title: Nginx URL with UTF-8
body: <p>I just installed a fresh server with Nginx, to run my client wordpress blog. The blog was migrated from an old server with Apache.</p>
  
  <p>It's almost everything OK, but I'm getting 404 errors with image names that contain special characters.</p>
  
  <p>For example, the link <strong>/wp-content/uploads/2014/06/Workshop-de-Tricô-e-Crochê-Círculo.png</strong> results in a 404 error.</p>
  
  <p>Checking the server inputs, this URL becomes <strong>/wp-content/uploads/2014/06/Workshop-de-Tric%C3%B4-e-Croch%C3%AA-C%C3%ADrculo.png</strong>, and because of that results in a 404 error.</p>
  
  <p>My server configuration is this: </p>
  
  <pre><code>server {
      listen 80;
      server_name blog.mysite.com;
      root /home/forge/blog.mysite.com;
  
      index index.html index.htm index.php;
      charset utf-8;
  
      location / {
          try_files $uri $uri/ /index.php?$query_string;
      }
  
      access_log off;
  
      error_page 404 /index.php;
  
      location ~ \.php$ {
          fastcgi_split_path_info ^(.+\.php)(/.+)$;
          fastcgi_pass unix:/var/run/php5-fpm.sock;
          fastcgi_index index.php;
          include fastcgi_params;
      }
  
      location ~ /\.ht {
          deny all;
      }
  }
  </code></pre>
  
  <p>Is there anything I can do?</p>