title: How to set encoding in RESTeasy to UTF-8?
body: <p>I have a problem with encoding strings in RESTeasy. The problem is that chinese alphabet or any other non-latin characters are not displayed properly. If I try to print them out (or send as response) I get "?????" instead.
  I believe that default encoding in RESTeasy is us-ascii. Do you know how to change it to UTF-8? Maybe there is another solution to this problem?</p>
  
  <p>Here is a short passage from my code:</p>
  
  <pre><code>@POST
  @Path("post")
  @Consumes(MediaType.MULTIPART_FORM_DATA)
  public String uploadData(@MultipartForm DataUploadForm uploadForm) {
  
  ...
  
  //the code below is just for the purpose of presentation
  
  String text = "some non-latin alphabet signs here"
  System.out.println(text);  // "??????" is printed out
  
  return text; //"??????" is returned
  }
  </code></pre>
  
  <p>My resteasy-jaxrs-3.0-beta-2 is running on Tomcat 7.0. </p>
  
  <p>Thank you!</p>