Rasmus and I talked about this some more yesterday, and I think there
is an alternate, better approach.
PHP will attempt to decode the incoming request data as described
below. The variables that it decodes successfully will be put into the
request arrays as Unicode strings, those that fail -
I'd like to solicit opinions on how we should treat conversion failures
during HTTP input decoding. There are two issues at hand: fallback
mechanism and application-driven decoding in case of failure. Let's
look at the proposal for the latter one first.
If the decoding of HTTP input fails (and