I have a template that contains Icelandic, like this:
When I open the file on the server with Notepad++ the code looks as above which is as it should.
When I then open the template in the template editor in the Dynamicweb backend, it gets corrupted and looks like this:
If I then save the template, the text above gets written to the cshtml file as-is, effectively breaking the template.
When examining the file in Notepad++ again on the server I can see the encoding has switched from UTF-8 to UTF-8-BOM.
Not sure if it's related, but when I compare our web.config with the one from a standard DW application, our config file is UTF-8-BOM as well, whereas the standard one is UTF-8.
Any idea why this is happening and what I can do about it?