PHP网站编码问题

I received a website , first of all i will provide some explanation: Website PHP 5.3 Mysql Database and table charset LATIN1 Meta Tags used in files are windows 12...

Now first issue is that when i see index.php file in my PC Notepad++ it shows me Arabic there but when i see the same file in my windows server notepad++ it shows different encoding.

Second i have this website which is not showing data in Arabic in browser and all the data in database is in different format/garbage characters.

Any help

Try using these commands;

ALTER DATABASE sdlc_demo CHARACTER SET utf8 COLLATE utf8_unicode_ci;
ALTER TABLE admin CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;

How to convert an entire MySQL database characterset and collation to UTF-8?