ford ford - 1 year ago 75
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?


Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download