-
Notifications
You must be signed in to change notification settings - Fork 16
German umlauts (ä,ö,ü,ß) #68
Comments
Have problems with reproducing the issue. Can you please provide information about OS you use? |
I've the following environment
Additionaly I'm using Git (this is where the *.md files come from).
My IntentionIntentionally I would say this bug lies in the way gfm-plugin renders the resulting HTML-File (per in-browser). Maybe the Browser is not configured to use an encoding which supports german umlauts ? Another possibillity that crossed my mind is related to the file transfer. Hope this helps. Elsethen I'll try to provide a container which reproduces this error. |
Disabling offline generation doesn't change anything (except an I/O Exception I received first time I opened *.md after forcing online generation - following times it ran without exceptions). I noticed that even just changing the content of a 'broken' *.md file and then preview it (without forcing the encoding of file) resolves the bug. But same thing - if I close the file and reopen it the umlauts aren't encoded again. I think the best hint we have is that the bug only appears when opening an *.md file but doesn't as long as it's updated at least once and kept open. So this bug seems to be related with any kind of initialization / caching to me.
|
👍 |
Should be fixed in v0.1.9 |
I'm working on a complete rewrite that should be done more or less in a month. |
Support for german umlauts
I'm using PHPStorm 8.0.3 with gfm-plugin for editing GFM.
Issue
When writing markdown containing german umlauts (ä,ö,ü,ß) in PHPStorm, saving it and close the file tab than reopen the file again and click on
GFM Preview
the umlauts aren't formatted well (instead the mystic question mark icon is shown).I've found out that forcing the file encoding to UTF in PHPStorm fixes this issue as long as the file tab is open. If I close the file this change is lost and the question mark icons show up again.
Reproduce Issue
This issue is easy to reproduce (indeed you need PHPStorm with gfm-plugin):
*.md
file in PHP StormEverything is fine as long we don't use german umlauts (ä,ö,ü,ß).
and save itGfm Preview
and you'll see the file rendered fine (with german umlauts)Temporary fix
When opening a Markdown file with german umlauts force the file encoding to UTF-8 (or whatever supports umlauts aswell). This will fix it as long the file is open.
The text was updated successfully, but these errors were encountered: