[php-src] PR #26042: ext/standard: Keep UTF-8 characters together in quoted-printable filters
| From: | iliaal | Date: | Thu, 03 Dec 2026 00:55:17 +0000 |
| Subject: | [php-src] PR #26042: ext/standard: Keep UTF-8 characters together in quoted-printable filters | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-41382@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/26042
Author: iliaal
The quoted-printable stream filter can insert a soft break between the bytes of a UTF-8 character.
The reporter saw Apple Mail drop part of an HTML message when the filter split a nonbreaking space.
In text mode, reserve room for the character and the soft-break marker at its leading byte. Binary
mode and lines too narrow to hold both keep their existing wrapping.
Fixes GH-26041