|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-07-15 02:31 UTC] stas@php.net
-Status: Open
+Status: Feedback
[2012-07-15 02:31 UTC] stas@php.net
[2012-07-15 12:02 UTC] c2h5oh at poczta dot fm
-Status: Feedback
+Status: Open
[2012-07-15 12:02 UTC] c2h5oh at poczta dot fm
[2012-07-16 06:41 UTC] stas@php.net
[2012-07-16 06:41 UTC] stas@php.net
-Status: Open
+Status: Feedback
[2012-07-16 08:40 UTC] c2h5oh at poczta dot fm
-Status: Feedback
+Status: Open
[2012-07-16 08:40 UTC] c2h5oh at poczta dot fm
[2012-08-20 21:51 UTC] lstrojny@php.net
-Status: Open
+Status: Feedback
[2012-08-20 21:51 UTC] lstrojny@php.net
[2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 13:00:01 2025 UTC |
Description: ------------ quoted_printable_encode adds, among other things, soft line breaks if line lenght is greater than 76 characters. If that 76th character happens to be in the middle if encoded UTF8 character then this character will be split into two lines corrupting the encoded sting. Test script: --------------- <?php echo quoted_printable_encode('ąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą'); Expected result: ---------------- =C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85= =C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85= =C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85= =C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85= =C4=85=C4=85=C4=85=C4=85=C4=85 Actual result: -------------- =C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4= =85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85= =C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4= =85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85=C4=85= =C4=85=C4=85=C4=85 (compare ends of each line)