RE: [PHP-DEV] Re: PHP Unicode support design document- encoding negotiation
| From: | Tex Texin | Date: | Thu, 25 Aug 2005 23:37:21 +0000 |
| Subject: | RE: [PHP-DEV] Re: PHP Unicode support design document- encoding negotiation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18456@lists.php.net to get a copy of this message | ||
see the section on negotiation in this as well:
http://www.xencraft.com/training/webstandards.html
Tex Texin
Internationalization Architect, Yahoo! Inc.
> -----Original Message-----
> From: Adam Maccabee Trachtenberg [mailto:adam@trachtenberg.com]
> Sent: Thursday, August 25, 2005 8:06 AM
> To: Andrei Zmievski
> Cc: Makoto Tozawa; christopher.jones@oracle.com; PHP
> Developers Mailing List
> Subject: Re: [PHP-DEV] Re: PHP Unicode support design document
>
>
> On Wed, 24 Aug 2005, Andrei Zmievski wrote:
>
> > I took a closer look at this today and RFC 2616 does not specify
> > whether user agents are supposed to send a charset parameter in the
> > Content-Type header of the POST request. I did not see any of my
> > browsers doing so. I think we can safely disregard this and rely on
> > http_input_encoding and output_encoding settings. We are
> not going to
> > use Accept-Charset for the reasons you mention.
>
> I don't know if this is useful, but Sam Ruby did a bunch of
> digging into HTTP/HTML/XML encodings and precedence rules.
> See this presentation -- Slides 72 - 75. (Note link below
> starts at slide 72.)
>
> http://intertwingly.net/slides/2005/etcon/72.html
>
> If possible, I would prefer not to assume that we only need
> to follow the behavior of popular user agents.
>
> Someone could be using PHP as a web service server and have
> people write client scripts submitting all kinds of POST data
> that needs to be processed correctly. In an ideal world
> (heh), PHP would handle all of those scripts as long as they
> followed the specifications.
>
> -adam
>
> --
> adam@trachtenberg.com | http://www.trachtenberg.com
> author of o'reilly's "upgrading to php 5" and "php cookbook"
> avoid the holiday rush, buy your copies today!
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>