One of the files in my project contains German Umlaut characters, But these do not display when I bring the file up in WebStorm. Instead, I get black diamonds with a question mark in the middle which would seem to indicate that the character in question is not understood.
I found another thread here on stackoverflow.com which explained how to set file encodings inside WebStorm both for the current project and as the default for all projects. That's pretty easy to do. You just go to File --> Settings --> File Encodings for the one and File --> Default Settings --> File Encodings for the other.
When I go to those pages in my WebStorm app, I see settings for 'IDE Encoding' and 'Project Encoding'. Both are set for UTF-8. Yet these characters are not showing up when I view the file inside WebStorm and are clearly not being understood as such in the program itself, either. (I'm using them inside regular expressions which fail because the umlauted characters are not understood.)
When I open the same file inside Ultra Edit, another text editing program I use outside of WebStorm, the characters display as they should, indicating that the accented characters really are there in the file.
Any idea why WebStorm is not recognizing these characters?
charsetattribute (standard stuff in<head>section). 3) You need to use "Reload" and not "Convert" -- first just reads file using different encoding while second actually changes encoding of certain (affected) characters and can damage your file if done incorrectly (e.g. original encoding was wrong etc). P.S. Please use@usernameif you want that person to be notified - LazyOne