I've got nonstandard characters coming out of my database (due to line breaks).
My HTML validator is complaining about them.
Since my HTML validator is a direct extension of my ego, I'd like to keep the thing happy and green-ok-arrow-y.
Does someone who's done this before have a quick fix?
BTW I don't want to change the page's charset, doctype, or the data. Just looking for a utf8_decode()
type thing that would clean up the string, but utf8_encode()
and utf8_decode()
don't work...
UPDATE
Sorry, "non-standard characters" is a bit vague, but then so is this error warning. Specifically, they're not SGML characters, which apparently don't fit the SGML parser...but now I get into the fuzzy territory, not sure what's going on.