CodeIgniter Forums
Scandinavian letters not working - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Scandinavian letters not working (/showthread.php?tid=14671)



Scandinavian letters not working - El Forum - 01-10-2009

[eluser]Vitsaus[/eluser]
So far I have good experience with CodeIgniter and it's natural way of working. Now I have ran into problems with Scandinavian letters, to be specific: ä,ö,å. I can't display them correctly and the way my site shows them is like this: "lisää random juttua" when it should be "lisää random juttua". According to the configuration, my site should use utf-8. Any ideas/fixes?


Scandinavian letters not working - El Forum - 01-10-2009

[eluser]darkhouse[/eluser]
Make sure your files are encoded with UTF-8 and also make sure you have this line in your <head>

Code:
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

I had the same issue with the ü character recently, it was just my file encoding.


Scandinavian letters not working - El Forum - 01-10-2009

[eluser]Vitsaus[/eluser]
Should have figured this out by myself. Thanx, this helped.


Scandinavian letters not working - El Forum - 01-10-2009

[eluser]darkhouse[/eluser]
It's always the little things. Glad I could help.