user3052503
user3052503

Reputation: 35

how to Change charactors encode in php or html?

i have text in English and Windows-1256 (Arabic Language) and when i print the file containing the text with php, the file has miss interrupted and i get this

ط± ظ„ظ„ط·ظٹط±ط§ظط± ظ„ظ„ط·ظٹط±ط§ظ

Upvotes: 0

Views: 56

Answers (1)

user3052503
user3052503

Reputation: 35

Thanks to @C0dekid I just added

<meta http-equiv='Content-Type' content='text/html'; charset='UTF-8'/>

and it solved my problem.

Upvotes: 1

Related Questions