title: Spring Boot encoding / special characters
body: <p>I have issue with encoding of Spring boot REST API special <strong>cs_CS</strong> characters.</p>
  <p>Example:</p>
  <pre><code>@ResponseBody
  @RequestMapping(&quot;/api/test&quot;)
  public String test(){
      String specialCH = &quot;ěščřžýáíéúů&quot;;
      System.out.println(specialCH);
  
      return specialCH;
  }
  
  
  2020-11-16 11:22:04.557  INFO 7400 --- [           main] cz.fry.chmi.ChmiApplication              : Started ChmiApplication in 5.187 seconds (JVM running for 5.703)
  2020-11-16 11:22:05.167  INFO 7400 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
  2020-11-16 11:22:05.168  INFO 7400 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
  2020-11-16 11:22:05.175  INFO 7400 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 7 ms
  ěščřžýáíéúů
  </code></pre>
  <p><strong>Result in browser:</strong></p>
  <p><a href="https://i.stack.imgur.com/EVjOK.png" rel="nofollow noreferrer">result</a></p>
  <p>application.properties:</p>
  <pre><code>server.servlet.encoding.charset=UTF-8
  server.servlet.encoding.force=true
  </code></pre>
  <p>OS Windows 10 1909.</p>
  <p>PS:
  If I create file test.html -&gt;</p>
  <pre><code>+ěššččřřžýáíéáý
  </code></pre>
  <p><strong>Result in browser:</strong></p>
  <p><a href="https://i.stack.imgur.com/6CTqc.png" rel="nofollow noreferrer">result</a></p>