PHP - Is htmlentities() sufficient for creating xml-safe values?
- by John Himmelman
I'm building an XML file from scratch and need to know if htmlentities() converts every character that could potentially break an XML file (and possibly UTF-8 data)? The values will be from a twitter/flickr feed, so I need to be sure!