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+.
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com
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 the invalid sequence? This a a reasonable alternative behavior
for some less stringent cases.
(Yes, the fix is better than the status quo, but just taking this a step
further).
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 of substituting an unmappable character
FFFD in
place of the invalid sequence? This a a reasonable alternative
behavior
for some less stringent cases.(Yes, the fix is better than the status quo, but just taking this a
step
further).
I agree, that would be quite reasonable and also more consistent with
how UTF-8 works in other apps (browsers etc).
David
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