-
Notifications
You must be signed in to change notification settings - Fork 194
Unexpected  character #104
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
Comments
@nathan-wells @Locatus Hey! Thanks for opening this. Unfortunately this is the first I've heard or seen this. Unable to reproduce on my end. Can you share some specs with me? (OS, browser, versions, etc). Also one thing does stick out right away, is there a weird doctype going in your webapp? I've seen this randomly before with different but similar weird characters and the issue boiled down to some old/weird doctype (or similar doc meta) being the culprit. Perhaps we can find something in common amongst you both. |
Hi @scniro - Thanks for the quick response. Quick info: Interesting fact: I hope that was helpful. Let me know if you require any more info. |
@Locatus interesting so I suspect the issue might have something to do with how webpack is bundling. Excuse me for being terribly oblivious here but I'm not at all familiar with what's all involved to build for tomcat. Is there a special process or version of node that webpack has to run on? |
I'm curious to know if the same scenario is happening for @nathan-wells. I'm going to start digging through what's different between the two. As well check into the doctype. |
@Locatus cool let me know what you find. I stumbled across this and wonder if this could trigger any ideas? angular/angular-cli#2077 Looks like they are seeing some issues with files not encoding correctly |
Package version: 4.3.0 I'm also using webpack and don't see the issue when running my app locally. As far as doctype, I'm using <!doctype html>. |
@Locatus @nathan-wells behold... |
The fix on my end was to update index.html to specify a utf-8 charset: |
When codemirror field is empty, it appears as if it contains the "Â" character. Then when entering text, the same character appears after the pipe as part of the cursor.
The text was updated successfully, but these errors were encountered: