This is first time I am doing a project in other then English Language i.e. Turkish. I start code in PHP, but the problem I am facing is to set Meta Content Character set, Following is the important part of my code.
I use this line to define the Turkish characters for my site.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9" />
</head>
<body>
MY CODE HERE ...
</body>
</html>
The line is working properly in Chrome but problem with firefox and IE,
I also replace the line with
<meta charset='ISO-8859-9'>
The problem is same,
Please give the statement that works with all browsers.
Note: I don’t have any error in my console or firebug window, The only thing is firefox and IE is ignoring both of above lines,
In php you can try utf8_decode if you want to put your characters from utf8 to iso !
If it doesn’t works try utf8_encode or htmlentities(“text”, ENT_QUOTES, “ISO-8859-1”);