title: Spring boot http encoding is not working?
body: <p><a href="https://i.stack.imgur.com/3FNMf.png" rel="nofollow noreferrer">postman response</a>I have a spring boot api  which is https enabled but when i invoke http from rest client it is giving me the response in "text/plain;charset=ISO-8859-1" format instead of UTF-8</p>
  
  <p>How to override this default behavior?</p>
  
  <p>I have tried with below properties but none of them seems to a solution
  application.yml:</p>
  
  <pre><code>spring:
    http.encoding.charset : UTF-8
    http.encoding.enabled: true
    http.encoding.force:  true
    http.encoding.force-request: true
    http.encoding.force-response: true
  
  server:
    port: 9190
    http.port: 9098
    http.ssl.both.enabled: true
    https.redirect.port: 9443
    ssl.enabled: true
    compression.mime-types:  application/json
    uri-encoding : UTF-8
  </code></pre>
  
  <p>Controller class:</p>
  
  <pre><code>@RestController
  public class EmployeeResource {
      @Autowired
      EmployeeRepository empRepo;
  
        @PostMapping(value = "store/employee", consumes = "application/json;charset=UTF-8", produces = "application/json;charset=UTF-8")
          public String storeEmployee(@RequestBody EmployeeBO employeeBO) {
  
            empRepo.save(employeeBO);
            return "Data saved sucessfully";
          }
  
  }
  </code></pre>