Re: [PHP-DEV] bug #43941

2008-08-21 Thread William A. Rowe, Jr.
David Zülke wrote: Am 21.08.2008 um 18:50 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 18:41 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 18:08 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malysh

Re: [PHP-DEV] bug #43941

2008-08-21 Thread David Zülke
Am 21.08.2008 um 19:03 schrieb Rasmus Lerdorf: David Zülke wrote: Interesting. I assume that was a weakness in the respective implementation, right? Since 0xE0 " > should never be regarded a valid sequence since neither " nor > are in the range above 0x7F... But that's what we are talkin

Re: [PHP-DEV] bug #43941

2008-08-21 Thread Rasmus Lerdorf
David Zülke wrote: Interesting. I assume that was a weakness in the respective implementation, right? Since 0xE0 " > should never be regarded a valid sequence since neither " nor > are in the range above 0x7F... But that's what we are talking about. What to do with invalid sequences. The E

Re: [PHP-DEV] bug #43941

2008-08-21 Thread David Zülke
Am 21.08.2008 um 18:50 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 18:41 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 18:08 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malyshev wrote: Hi! Are t

Re: [PHP-DEV] bug #43941

2008-08-21 Thread Rasmus Lerdorf
David Zülke wrote: Am 21.08.2008 um 18:41 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 18:08 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #

Re: [PHP-DEV] bug #43941

2008-08-21 Thread David Zülke
Am 21.08.2008 um 18:41 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 18:08 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for ho

Re: [PHP-DEV] bug #43941

2008-08-21 Thread Rasmus Lerdorf
David Zülke wrote: Am 21.08.2008 um 18:08 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I

Re: [PHP-DEV] bug #43941

2008-08-21 Thread David Zülke
Am 21.08.2008 um 18:08 schrieb Rasmus Lerdorf: David Zülke wrote: Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests

Re: [PHP-DEV] bug #43941

2008-08-21 Thread Rasmus Lerdorf
David Zülke wrote: Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests about it, right now it's only in 5.3+. Is there t

Re: [PHP-DEV] bug #43941

2008-08-21 Thread David Zülke
Am 21.08.2008 um 03:34 schrieb William A. Rowe, Jr.: Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests about it, right now it's only in 5.3+. Is there the alternative o

Re: [PHP-DEV] bug #43941

2008-08-20 Thread Rasmus Lerdorf
Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests about it, right now it's only in 5.3+. Go ahead. It is an obvious bug fix. -Rasmus -- PHP Internals - PHP Runtime Develo

Re: [PHP-DEV] bug #43941

2008-08-20 Thread William A. Rowe, Jr.
Stanislav Malyshev wrote: Hi! Are there any objections to incorporating bugfix for #43941 (fix for how json handles invalid UTF-8 sequences) into 5.2? I had some requests about it, right now it's only in 5.3+. Is there the alternative of substituting an unmappable character FFFD in place of