Re: [PHP4BETA] CHARSET HELP
| From: | rasmus@php.net | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: [PHP4BETA] CHARSET HELP | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12252@lists.php.net to get a copy of this message | ||
There is a difference between a paper standard and an actual implemented
standard. Current clients do not follow the paper standard you are
qouting.
On Thu, 16 Mar 2000, Stanislav Malyshev wrote:
> >> > >> I am not sure it is a good idea to default this charset like this. I
> >> > >> know
> >> > >> I added this directive, but my intention really was not to make
> >> > >> iso-9959-1
> >> > >> the default.
> >> >
> >> > Why not? Isn't 8859-1 standard default encoding?
> >>
> >> No
>
> Then, could you please explain me the following sentence from HTTP RFC:
>
> The "charset" parameter is used with some media types to define the
> character set (section 3.4) of the data. When no explicit charset
> parameter is provided by the sender, media subtypes of the "text"
> type are defined to have a default charset value of "ISO-8859-1" when
> received via HTTP. Data in character sets other than "ISO-8859-1" or
> its subsets MUST be labeled with an appropriate charset value.
>
> Some HTTP/1.0 software has interpreted a Content-Type header without
> charset parameter incorrectly to mean "recipient should guess."
> Senders wishing to defeat this behavior MAY include a charset
> parameter even when the charset is ISO-8859-1 and SHOULD do so when
> it is known that it will not confuse the recipient.
>
>
> Doesn't it say "ISO-8859-1" is the default?
> --
> Stanislav Malyshev stas@zend.com
> +972-3-6139665
>
>