title: How properly encode accents for display in REST/JSON response and printStackTrace?
body: <p>I am returning a localized error message in a JSON response and printing it to logs. When I do this, both show weird, messed up characters. How can I encode the message to properly display non-English characters?</p>
  
  <p>The message as stored in <code>"messages_fr.properties"</code>:</p>
  
  <pre><code>exceptions.generalMessage=Un problème est survenu lors de la gestion de votre demande.
  </code></pre>
  
  <p>How it appears in the JSON response:</p>
  
  <pre><code>"message": "Un problÃ¨me est survenu lors de la gestion de votre demande."
  </code></pre>
  
  <p>It appears the same as above in the stack trace.</p>