note 45811 added to function.htmlentities

From: Date: Mon, 20 Sep 2004 04:47:55 +0000
Subject: note 45811 added to function.htmlentities
Groups: php.notes 
Request: Send a blank email to php-notes+get-76998@lists.php.net to get a copy of this message
allthough it is much more complex than this, please note that if you're using xhtml the character encoding you specify within your document is "associated" with the encoding used by php. e.g.: <?xml version="1.0" encoding="..."?> may also assess the manner form data is submitted. as it is prepared before sending it does not matter whether it is post or get. to give you something stoutly have a look at mozilla firefox (0.9.3) where submitting form data... <?xml version="1.0" encoding="ISO-8859-1"?> ...converts ä to %E4 <?xml version="1.0" encoding="UTF-8"?> ...converts ä to %C3%A4 or at internet explorer (6.0) where encoding is ignored while submit but default values of an input field let you recognize the same thing. this may confuse you getting the desired &auml; afterwards. ---- Manual Page -- http://www.php.net/manual/en/function.htmlentities.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45811 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45811&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45811&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#76998) next »