Enfore ISO-8859-1 encoding for htmlentities().