0

I was using Arabic language in my PHP file (info.php) normal for long time But when I changed functions.php file from ANSI to UTF-8 encoding, then all my page info.php become strange characters. I downloaded the file info.php by FileZilla to see what encoding has, and the surprise is I found the whole file characters are also symbols and the encoding is UTF-8 Normal.

My database is utb8-general-ci.

Editor: UTF-8.

I'm using meta tag with UTF-8.

MySQL connect also UTF-8.

I have tried to change back functions.php to ANSI but the symbols didn't come back to Arabic.

What should I do please I have my site online. Thanks.

Dylan Wheeler
  • 6,928
  • 14
  • 56
  • 80
Scooter Daraf
  • 525
  • 7
  • 23
  • The characters were correct when the DB was `ansi`? You can't get back misencoded data. It is like watching a tv show filmed in black and white on a color tv, there no reference of the original colors. – chris85 Jul 19 '16 at 12:52
  • @chris85 i know , i said my file was rewrited automatic in symboles it self . i dont mean its arabic in file and it how symbols , no its symbols in file and symboles in web – Scooter Daraf Jul 19 '16 at 12:55
  • database was good en utf8 – Scooter Daraf Jul 19 '16 at 12:55
  • just that file functions.php was ansi , which correcpted my other file and become symboled – Scooter Daraf Jul 19 '16 at 12:56

0 Answers0