spring-boot-encoding-error
To run the example:
- Run gradlew
- Open up http://localhost:8080/index.html
- The text message have wrong encoding only for certain spring-boot versions. The text SHOULD show:
Some text with some swedish öäå!
Some text with some swedish ÖÅÄ!
(See the text in messages.properties)
To reproduce the error, do 1-3 above with different spring-boot versions. You can change the bootVersion parameter in the build.gradle file)
-
When running with any of these versions the encoding gets wrong somehow. öäå and ÖÄÅ shows up "wrong" in the browser
- bootVersion = "1.1.3.RELEASE"
- bootVersion = "1.1.4.RELEASE"
- bootVersion = "1.1.5.BUILD-SNAPSHOT"
-
When running with this version the encoding is OK
- bootVersion = "1.0.2.RELEASE"