I am building a form using PHP and I want the user to login with his Arabic name. I have set the database to UTF-8 and the column to UTF-8.
And I have enter the following code in my PHP script:
header('Content-Type: text/html; charset=UTF-8');
And when I output the result it is written in arabic, so no junk letters ...
Why it doesn't log me in when I use arabic username and when I use english username it logs me in?