ford ford - 7 months ago 14
HTML Question

What is HTML Entity '
'?

I'm generating an XML Document object via the DOMDocument class. In the process, some kind of whitespace within elements is being converted into


. It's pretty difficult to search for this one since search engines treat this character as whitespace.

How do I scrub this character out of my xml output, or at least replace it with a different, preferable whitespace character?

Thanks.

Answer

ASCII code 13 corresponds to a carriage return (in PHP, it's "\r").