I'm making a website using valid XHTML strict.
The webpages validate, except from the text content that comes out of the database. There's quite some characters in my text (such as " ’ ") that don't validate because they aren't coded with the right character entity.
I'm using php's htmlentities to parse the text that comes out of my database, but clearly a few characters don't get encoded.
How can I bypass this problem?