htmlentities() giving strange results...
Posted: Sat Dec 01, 2007 7:11 pm
I'm trying to use the htmlentities() function but finding that many characters get very strange results. For instance, the character « does not get converted to simply «, but rather «. Some characters after conversion are even worse -- for instance, the character ‹ comes out as â�¹. What's wrong?