Jeg Bagus Jeg Bagus - 6 months ago 10
PHP Question

Weird character on mysql

i proceed XML, sometime i get XML parsing error because of weird character.

something like this character : ââ¬â¢

how can i filter this character using PHP?

or can i clean database, and remove those weird character?

Bil Bil
Answer

Connect to your database into UTF-8 charset and you don't have anymore strange chars or put strings between <![CDATA[]]>

Comments