Bug #79200 [Sus->Ver]: iconv_mime_decode() cuts Windows-1258

From: Date: Tue, 03 Mar 2020 10:42:39 +0000
Subject: Bug #79200 [Sus->Ver]: iconv_mime_decode() cuts Windows-1258
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225853@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79200&edit=1 ID: 79200 Updated by: cmb@php.net Reported by: thomas-php at digionline dot de Summary: iconv_mime_decode() cuts Windows-1258 -Status: Suspended +Status: Verified Type: Bug Package: ICONV related Operating System: * PHP Version: PHP-7.3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Oh, for some reason I didn't get a notification that the bug I've filed upstream[1] has already been closed as not a bug. So, it's actually the iconv extension that gets that wrong in multiple places. Not only iconv_mime_decode() is affected, but at least also iconv_strlen(), iconv_strpos() and iconv_substr(). [1] <https://savannah.gnu.org/bugs/index.php?57723> Previous Comments: ------------------------------------------------------------------------ [2020-02-02 09:20:35] cmb@php.net This looks like a bug in libiconv. I've filed a bug report[1]. [1] <https://savannah.gnu.org/bugs/index.php?57723> ------------------------------------------------------------------------ [2020-01-31 09:17:28] cmb@php.net Confirmed: <https://3v4l.org/TKqvd>. ------------------------------------------------------------------------ [2020-01-31 08:59:43] thomas-php at digionline dot de Description: ------------ iconv_mime_decode() cuts Windows-1258. Test script: --------------- echo iconv_mime_decode('=?windows-1258?Q?test=20test?=',0,'UTF-8'); Expected result: ---------------- test test Actual result: -------------- test tes ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79200&edit=1

« previous php.bugs (#225853) next »