Re: [PHP-I18N] RFC: Error handling in HTTP input decoding

2006-07-07 Thread Andrei Zmievski
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 -

[PHP-I18N] RFC: Error handling in HTTP input decoding

2006-06-22 Thread Andrei Zmievski
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