Reputation: 81
When I put polish special characters
(Ą, Ć, Ę, Ł, Ń, Ó, Ś, Ź, Ż, ą, ć, ę, ł, ń, ó, ś, ź, ż)
In HTML div it's displaying correctly. But if I use cakephp function __l() means Its not displaying correclty.
I have checked below things:
I'm using cakephp2.3
My html tag
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
My ctp file encoded in utf-8
only.
What is the problem ?
Upvotes: 1
Views: 184
Reputation: 16117
Set content type in this your header (iso-8859-2 standard):
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2" />
Upvotes: 1