Reputation: 17617
I'm trying to render templates of an html-page that contains swedish characters "åäö" but when it renders in the web browser it ends up with "�". The page renders in UTF-8.
Is there any way to workaround this or do I need to write the chars as html-code?
Also any pointers to the best support for multi-lang site?
..fredrik
Upvotes: 0
Views: 209
Reputation: 7781
Make sure your template file is saved in UTF-8 format (I'm not talking about hmtl encoding but about encoding of text/html file when you save it).
In Notepad++ you can do it like that: http://img198.imageshack.us/img198/9081/notepadp.png
Upvotes: 1