« Return to Thread: Problem with special characters - PHP & AJAX

Re: Problem with special characters - PHP & AJAX

by Jason Norwood-Young-2 :: Rate this Message:

Reply to Author | View in Thread


On Mon, 2008-07-07 at 19:35 +0930, Michael Kubler wrote:
> Are the messages being sent as UTF-8 or something else? Is the server
> sending the headers as something different to that listed in the header?
> Actually, looking at it, you don't have a valid DOC-TYPE
> <http://validator.w3.org/check?uri=http%3A%2F%2Fkllapa.com%2Ffjahalori%2Ftest.html&charset=%28detect+automatically%29&doctype=Inline&group=0>,
> nor character Encoding set.

Yeah you might want to check out HTML Entities
(http://www.php.net/manual/en/function.htmlentities.php) - great help in
encoding. Then set a doc type too.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: Problem with special characters - PHP & AJAX