Hi,
can't you just change the charset in your html template?
I'm writing a php program that pulls from a database source. Some of the varchars have quotes that are displaying as black diamonds with a question mark in them (�,)
How can I use php to strip these characters out?
7 réponses
yes I put
and problem still unsolved
Check youre file encoding. Set it to UTF8.
We need more precision about this problem. If you juste 'echo ' a special char, it's ok ?
Or maybe it's a var from a database ? If it, it's different !
yes it's a var from a database
If you are using PDO extension, you can force charset by using params into your PDO objetct
yeeeessss it's wwork thanx @Benjamin can I have your email or facebook account ??
Thanx PallMallShow and TransientDev :D