note 45811 deleted from function.htmlentities by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 17:05:09 +0000 |
| Subject: | note 45811 deleted from function.htmlentities by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-154936@lists.php.net to get a copy of this message | ||
Note Submitter: cd at NOSPAM dot deluxe dot cd
----
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 ä afterwards.