title: How do I POST form data with UTF-8 encoding by using curl?
body: <p>I would like to <code>POST</code> (send) some form data to a webserver using <code>cURL</code> on a terminal-prompt.</p>
  
  <p>This is what I got so far:</p>
  
  <pre><code>curl --data-ascii "content=derinhält&amp;date=asdf" http://myserverurl.com/api/v1/somemethod
  </code></pre>
  
  <p>The problem is that the umlaute ("äöü") are replaced by "?" when I receive the post request on the server.</p>
  
  <p>I think I need to use an UTF-8 encoding for the <code>POST</code> request.</p>
  
  <p>Does anybody know how I can achieve this?</p>