Skip to content

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

Closed

Description

@harikrishnan-u01

× 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

Activity

  1. harikrishnan-u01 commented on Jul 19, 2017

    @harikrishnan-u01
    Author

    Even   in the HTML code changes to   in --prod build.

    I have the following charset in my index.html:

    <meta charset="utf-8">

  2. harikrishnan-u01 commented on Jul 24, 2017

    @harikrishnan-u01
    Author

    Any help?

  3. harikrishnan-u01 commented on Jul 26, 2017

    @harikrishnan-u01
    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

  4. filipesilva commented on Jul 28, 2017

    @filipesilva
    Contributor

    Closing then.

  5. nomykk commented on Mar 5, 2018

    @nomykk

    @harikrishnan-u01 Thanks for saving my time 👍

  6. angular-automatic-lock-bot commented on Sep 8, 2019

    @angular-automatic-lock-bot

    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.

  7. locked and limited conversation to collaborators on Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions