2

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..

Unicode problem

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.

medo ampir
  • 1,850
  • 7
  • 33
  • 57

1 Answers1

4

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:

Save with UTf-8 Encoding

if you not, I recommend you you to use sublime text: http://www.sublimetext.com/ it will give you some life years.. xD

ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
Seazoux
  • 621
  • 1
  • 5
  • 28