Last active
February 8, 2022 08:13
-
-
Save MahefaAbel/ffe7e1a7d4d7575b2dd239f91cbecb39 to your computer and use it in GitHub Desktop.
Java Charseting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Can We Override the Default Charset? | |
-Dfile.encoding="UTF-8" | |
-Dsun.jnu.encoding="UTF-8" | |
java -Dfile.encoding=utf-8 -jar target\application.jar |
application.properties
spring.thymeleaf.enabled=true
spring.thymeleaf.encoding=UTF-8
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In SpringConfig
In ServletInitializer