I got a PHP & MySQL script that use windows-1256 charset, I now want to modify the whole script make it completely built on utf-8 charset. starting from mysql DataBase to PHP files.
what is the right steps to achive that’s??!!
Note: I use non-Latin language in script (Arabic language).
On the database level, have a look at:
As for your html pages, use this
metatag:And you can also use this header from php:
Or you might want to have a look at complete php-arabic solution here: