04 July 2006 15:30
Bitflux Blog :: How to get rid of invalid UTF-8 characters
by camel & 1 other
We aggregate the PHP category from del.icio.us on the Planet PHP website. Unfortunately the input from del.icio.us does sometimes contain invalid UTF-8 characters, which leads to errors in the XML parsing. But the following iconv line gets rid of all invalid UTF-8 characters.
1
(1 marks)