Reputation: 1910
I have a website and this is the meta in the head tag
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
but all arabic text shows like in the picture..
but when I change the browser unicode to arabic it shows correctly, but I have to to it every refresh so it is not a solution at all.
Upvotes: 2
Views: 4324
Reputation: 631
For solve that problem, You only have to save all your PHP files in UTF-8 too...
Check that! :P
A only meta charset in UTf-8 doesn't works... Rembember it forever :P It happens to me every time.. :P
If you use Sublime Text, you can save it like that:
if you not, I recommend you you to use sublime text: http://www.sublimetext.com/ it will give you some life years.. xD
Upvotes: 4