You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
× in HTML displayed as × in prod build instead of 'X' #7053
Activity
harikrishnan-u01 commentedon Jul 19, 2017
Even
in the HTML code changes to in --prod build.I have the following charset in my index.html:
<meta charset="utf-8">harikrishnan-u01 commentedon Jul 24, 2017
Any help?
harikrishnan-u01 commentedon Jul 26, 2017
Hi,
The issue was with UTF-8 encoding. Added the following configuration in spring boot to resolve the issue:
spring.messages.encoding=UTF-8
server.tomcat.uri-encoding=UTF-8
spring.http.encoding.charset=UTF-8
spring.http.encoding.enabled=true
spring.http.encoding.force=true
Reference: http://netkiller.github.io/java/spring/boot/application.properties.html#charset
Thanks,
Hari
filipesilva commentedon Jul 28, 2017
Closing then.
nomykk commentedon Mar 5, 2018
@harikrishnan-u01 Thanks for saving my time 👍
angular-automatic-lock-bot commentedon Sep 8, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.