Jeg Bagus Jeg Bagus - 10 months ago 47
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

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