title: Javascript - how to play french files?
body: <p>i have french audio files (a lot of with accent, space, symbols), for example:</p>
  
  <pre><code>à l'étranger.wav
  </code></pre>
  
  <p>I need to play that file in chromium or google chrome as below, in meeting demo:</p>
  
  <pre><code>  input = "à l'étranger.wav";
    $('#mediaplayer').prop('loop', false);
    $('#mediaplayer').attr('src', 'http://localhost/' + input).show();
    mediaplay= document.getElementById('mediaplayer');
    mediaplay.play();
  </code></pre>
  
  <p>When i use that same code for other files it works, but never worked when its with the file contain abnormal french characters? how can i play it without renaming the original file name?</p>
  
  <p><strong>EDIT:</strong> nginx runnning as localhost with following config:</p>
  
  <pre><code>worker_processes  1;
  events {
      worker_connections  1024;
  }
  
  http {
      include       mime.types;
      default_type  application/octet-stream;
      sendfile        on;
      keepalive_timeout  65;
      server {
          listen       80;
          server_name  localhost;
          location / {
              root   html;
              index  index.html index.htm;
          }
          error_page   500 502 503 504  /50x.html;
          location = /50x.html {
              root   html;
          }
      }
  }
  </code></pre>