title: UTF-8 text is garbled when form is posted as multipart/form-data
body: <p>I'm uploading a file to the server. The file upload HTML form has 2 fields:</p>
  
  <ol><li>File name - A HTML text box where the user can give a name in any language.</li>
  <li> File upload  - A HTMl 'file' where user can specify a file from disk to upload.</li></ol>
  
  <p>When the form is submitted, the file contents are received properly. However, when the file name (point 1 above) is read, it is garbled. ASCII characters are displayed properly. When the name is given in some other language (German, French etc.), there are problems.</p>
  
  <p>In the servlet method, the request's character encoding is set to UTF-8. I even tried doing a filter as mentioned - <a href="https://stackoverflow.com/questions/29751/problems-while-submitting-a-utf-8-form-textarea-with-jquery-ajax" title="Forum Post"><a href="https://stackoverflow.com/questions/29751/problems-while-submitting-a-utf-8-form-textarea-with-jquery-ajax">How can I make this code to submit a UTF-8 form textarea with jQuery/Ajax work?</a></a> - but it doesn't seem to work. Only the filename seems to be garbled.</p>
  
  <p>The MySQL table where the file name goes supports UTF-8. I gave random non-English characters &amp; they are stored/displayed properly.</p>
  
  <p>Using Fiddler, I monitored the request &amp; all the POST data is passed correctly. I'm trying to identify how/where the data could get garbled. Any help will be greatly appreciated.</p>