Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

× in HTML displayed as × in prod build instead of 'X' #7053

Closed
harikrishnan-u01 opened this issue Jul 19, 2017 · 6 comments
Closed

Comments

@harikrishnan-u01
Copy link

× in HTML displayed as × in prod build instead of 'x'.
This is working fine in Dev build.

PFB screenshot:

image

Can you help in resolving this?

Am using "@angular/cli": "1.3.0-beta.0",

Thanks,
Hari

@harikrishnan-u01
Copy link
Author

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
Copy link
Author

Any help?

@harikrishnan-u01
Copy link
Author

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
Copy link
Contributor

Closing then.

@nomykk
Copy link

nomykk commented Mar 5, 2018

@harikrishnan-u01 Thanks for saving my time 👍

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants