Closed ecorm closed 9 years ago
Json::encode does not escape control characters. The following escape sequences should be implemented:
Json::encode
(Image from http://json.org/)
According to the RFC:
All Unicode characters may be placed within the quotation marks except for the characters that must be escaped: quotation mark, reverse solidus, and the control characters (U+0000 through U+001F).
Json::encode
does not escape control characters. The following escape sequences should be implemented:(Image from http://json.org/)
According to the RFC: