medo ampir
medo ampir

Reputation: 1910

why I can't show arabic language on HTML

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.

Upvotes: 2

Views: 4324

Answers (1)

Seazoux
Seazoux

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:

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

Upvotes: 4

Related Questions