Title: index.html missing character encoding · Issue #3652 · angular/angular-cli · GitHub
Open Graph Title: index.html missing character encoding · Issue #3652 · angular/angular-cli
X Title: index.html missing character encoding · Issue #3652 · angular/angular-cli
Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 7, 10, Debian Wheezy Versions. Please run ng --version. If there's nothing outputted, please ru...
Open Graph Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 7, 10, Debian Wheezy Versions. Please run ng --version....
X Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 7, 10, Debian Wheezy Versions. Please run ng --version....
Opengraph URL: https://github.com/angular/angular-cli/issues/3652
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"index.html missing character encoding","articleBody":"\u003e Please provide us with the following information:\r\n\u003e ---------------------------------------------------------------\r\n\r\n### OS?\r\n\u003e Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\r\n\r\nWindows 7, 10, Debian Wheezy\r\n\r\n\r\n### Versions.\r\n\u003e Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\r\n\r\nangular-cli: 1.0.0-beta.21\r\nnode: 6.9.1\r\nos: win32 x64\r\n\r\n\r\n### Repro steps.\r\n\u003e Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\r\n\r\n-\r\n\r\n### The log given by the failure.\r\n\u003e Normally this include a stack trace and some more information.\r\n\r\n\r\n### Mention any other details that might be useful.\r\n\r\nI am deploying my Angular2 FE on a Tomcat 7. As long as the Index.html is not utf8bom the character encoding gets lost. I told the Backend, the mysql system and the tomcat to use utf-8 but it gets lost anyway. \r\n\r\nI can encode the index.html to utf8bom but when i run ng build -prod the generated index.html looses its encoding and I have to set it manually after. Is there a fix that the index.html can hold its character encoding? This Problem only occurs on Tomcat (at least not on node) as far as I can tell. \r\n\r\n\r\n\r\n\u003e ---------------------------------------------------------------\r\n\u003e Thanks! We'll be in touch soon.\r\n","author":{"url":"https://github.com/slade-2k","@type":"Person","name":"slade-2k"},"datePublished":"2016-12-20T11:01:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/3652/angular-cli/issues/3652"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3b22b6f4-92e5-822c-3a87-185f142f29e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C53A:1B6BE9:B6C23C9:ECFD2C8:6976824D |
| html-safe-nonce | 4cb47f52d990c9b3545dc63e6087483b1617daf62adb75505d6fdfd910b52228 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTNBOjFCNkJFOTpCNkMyM0M5OkVDRkQyQzg6Njk3NjgyNEQiLCJ2aXNpdG9yX2lkIjoiMTUwNzE1NjI2OTkxNzk2MjgyOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | af071debc34f79ed3c9fd80af61ebed794fa41ffd3e99b20727b6bc92799fc33 |
| hovercard-subject-tag | issue:196644225 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3652/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f7c870d9b1bc387c5496d1d7b290e2456a93339471da5a004b8440e5abd58f31/angular/angular-cli/issues/3652 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f7c870d9b1bc387c5496d1d7b290e2456a93339471da5a004b8440e5abd58f31/angular/angular-cli/issues/3652 |
| og:image:alt | Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Windows 7, 10, Debian Wheezy Versions. Please run ng --version.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | slade-2k |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width