[doc-en] master: Clarify JSON_UNESCAPED_UNICODE control character escaping (#6147)
| From: | hamza aqqaoui via GitHub | Date: | Wed, 25 Nov 2026 05:34:58 +0000 |
| Subject: | [doc-en] master: Clarify JSON_UNESCAPED_UNICODE control character escaping (#6147) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-24013@lists.php.net to get a copy of this message | ||
Author: hamza aqqaoui (Hamzaaqq)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-11-25T06:34:54+01:00
Commit: https://github.com/php/doc-en/commit/34bb7c1d4d096e21a29c39a41071e478c689b308
Raw diff: https://github.com/php/doc-en/commit/34bb7c1d4d096e21a29c39a41071e478c689b308.diff
Clarify JSON_UNESCAPED_UNICODE control character escaping (#6147)
Changed paths:
M reference/json/constants.xml
Diff:
diff --git a/reference/json/constants.xml b/reference/json/constants.xml
index e96060ce3701..62ccc811c07b 100644
--- a/reference/json/constants.xml
+++ b/reference/json/constants.xml
@@ -294,6 +294,8 @@
<simpara>
Encode multibyte Unicode characters literally (default is to escape as
\uXXXX).
+ Control characters in the range U+0000 to U+001F are still escaped,
+ as required by JSON.
</simpara>
</listitem>
</varlistentry>