Skip to content

Commit a62d192

Browse files
committed
Add additional note on mb_encode_mimeheader in UPGRADING
1 parent aa51871 commit a62d192

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ PHP 8.3 UPGRADE NOTES
107107
Underscores must be encoded as "=5F" in such MIME encoded words.
108108
. In rare cases, mb_encode_mimeheader will transfer-encode its input
109109
string where it would pass it through as raw ASCII in PHP 8.2.
110+
. mb_encode_mimeheader no longer drops NUL (zero) bytes when
111+
QPrint-encoding the input string. This previously caused strings in
112+
certain text encodings, especially UTF-16 and UTF-32, to be
113+
corrupted by mb_encode_mimeheader.
110114
. mb_detect_encoding's "non-strict" mode now behaves as described in the
111115
documentation. Previously, it would return false if the same byte
112116
(for example, the first byte) of the input string was invalid in all

0 commit comments

Comments
 (0)