0

My String is قسمت 10 پایان سریال

I want convert to utf-8

I use iconv, utf_decode and ... but not work for me

note: I do not want use charset for mysql

Mohammad
  • 59
  • 1
  • 7
  • 3
    Collation is not the same as charset. You need to set the charset in mysql too. Data which has incorrect encoding will not be magically fixed by fixing the charset, the data needs to be updated. – Qirel Dec 27 '18 at 12:29
  • https://stackoverflow.com/questions/31897407/mysql-and-php-utf-8-with-cyrillic-characters/31899827#31899827 – Qirel Dec 27 '18 at 12:35
  • See also [What does character set and collation mean exactly?](https://stackoverflow.com/q/341273) – Adrian W Dec 27 '18 at 13:38

0 Answers0