CodeIgniter Forums
Problem with special characters - 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: Problem with special characters (/showthread.php?tid=58417)



Problem with special characters - El Forum - 06-11-2013

[eluser]Casperlarsen94[/eluser]
Hi!

I've been working on a project for a client for a while now, and from when I started the danish characters like Æ, Ø and Å doesn't "work" or not shown.

I've set the same charset as I always:
Code:
<meta http-equiv="Content-Type" c charset=UTF-8" />

Can anyone help me? It's first time I've ever have had a problem with this.

Kind regards

Casper Larsen


Problem with special characters - El Forum - 06-12-2013

[eluser]Casperlarsen94[/eluser]
Anyone who can help?


Problem with special characters - El Forum - 06-12-2013

[eluser]PravinS[/eluser]
Are you fetching data from mysql


Problem with special characters - El Forum - 06-12-2013

[eluser]Casperlarsen94[/eluser]
[quote author="PravinS" date="1371030592"]Are you fetching data from mysql [/quote]
It's both when I am and when I am not..


Problem with special characters - El Forum - 06-13-2013

[eluser]masrodjie[/eluser]
When you fetch mysql from mysql, use utf8_unicode_ci character set and use utf8_decode when call from mysql table.
When fetching from file, make sure your file encoding as UTF-8.