When using just run HTTP responses with "application/json" MIME type seem to be rendered using ISO-8859-1 instead of UTF-8. This might affect other MIME types (such as "application/xml"), too. HTML responses are rendered fine, though (using Thymeleaf in my case).
The easiest way to verify this behaviour is to use the Extend_BookRestController branch / tag (since the main branch depends on a database connection).
When using
just run
HTTP responses with "application/json" MIME type seem to be rendered using ISO-8859-1 instead of UTF-8. This might affect other MIME types (such as "application/xml"), too. HTML responses are rendered fine, though (using Thymeleaf in my case).For example, when running this sample application with
just run
and accessing the http://localhost:8080/book endpoint, some characters are garbled: https://github.com/workshops-de/Bookshelf_sample_solutionWhen using
mvn spring-boot:run
with the same application character encoding works as expected (UTF-8).