CodeIgniter Forums
Printing special characters from other languages - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Printing special characters from other languages (/thread-49697.html)



Printing special characters from other languages - El Forum - 02-29-2012

[eluser]veledrom[/eluser]
Hi,

My pages cannot show special characters from other languages. It only works for english. Is it to do with CI or my html tags?

Thanks

Code:
</div><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

&lt;html xml:lang="en" lang="en"&gt;

&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
[removed]

&lt;/head&gt;



Printing special characters from other languages - El Forum - 02-29-2012

[eluser]veledrom[/eluser]
Don't worry about it. I use UTF-8 content which solves the problem.