Does PHP have any standard function(s) to convert Unicode strings to plain, good old-fashioned ANSI strings (or whatever format PHP\'s htmlentities understan
htmlentities
Browsers already understand UTF-8. If you want them to know that you're sending them UTF-8 then you need to tell them.