Hello, This is a reply to an e-mail that you wrote on Mon, 11 Aug 2003 at 19:18, lines prefixed by '>' were originally written by you. > I don't think this has been discussed, although I'm not really sure > what you would call these accented characters, so I haven't been able > to do a complete search of the archives, so apologies if this has been > previously discussed. > Is there a function that not only turns & into &, " into ", > and the like, but also turns é into é and likewise with other > accented characters? I know I could easily write one, but why if one > already exists?
echo htmlentities("é"); // outputs é See http://php.net/htmlentities David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php