Bug #69347 [Opn->Sus]: Wrong utf8 processing in fetch methods

From: Date: Wed, 31 Mar 2021 11:37:35 +0000
Subject: Bug #69347 [Opn->Sus]: Wrong utf8 processing in fetch methods
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233091@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69347&edit=1 ID: 69347 Updated by: cmb@php.net Reported by: arth dot inbox+phpnet at gmail dot com Summary: Wrong utf8 processing in fetch methods -Status: Open +Status: Suspended Type: Bug Package: InterBase related Operating System: Ubuntu 14.04.1 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: The interbase extension is moved to PECL[1] as of PHP 7.4.0, and is looking for a new maintainer. Until a new maintainer is found, I suspend this ticket. Consider to use the bundled PDO_Firebird extension, or the php-firebird package[2] instead. [1] <https://pecl.php.net/package/interbase> [2] <https://github.com/FirebirdSQL/php-firebird> Previous Comments: ------------------------------------------------------------------------ [2015-04-16 08:48:35] arth dot inbox at gmail dot com I think this bug related to other package (one of dependencies of interbase), but I can't find which. It's so hard to read Macro-C code :) ------------------------------------------------------------------------ [2015-04-01 14:03:39] arth dot inbox+phpnet at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.ibase-fetch-assoc --- Utf8 strings incorrectly processed in ibase_fetch_* functions. See Test script. Test script: --------------- // connect $con = ibase_connect($database, $user, $pass); $q = ibase_query("SELECT * FROM Users WHERE name LIKE 'Ива%'"); // ok $user = ibase_fetch_assoc($this->q); // PHP Warning: ibase_fetch_assoc(): Malformed string // But if we have even number of russian characters(like 'Иван%'), all ok ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69347&edit=1

« previous php.bugs (#233091) next »