|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69347 Wrong utf8 processing in fetch methods
Submitted: 2015-04-01 14:03 UTC Modified: 2021-03-31 11:37 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: arth dot inbox+phpnet at gmail dot com Assigned:
Status: Suspended Package: InterBase related
PHP Version: Irrelevant OS: Ubuntu 14.04.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: arth dot inbox+phpnet at gmail dot com
New email:
PHP Version: OS:


 [2015-04-01 14:03 UTC] arth dot inbox+phpnet at gmail dot com
From manual page:

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-16 08:48 UTC] 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 :)
 [2021-03-31 11:37 UTC]
-Status: Open +Status: Suspended
 [2021-03-31 11:37 UTC]
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] <>
[2] <>
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jul 06 13:05:45 2022 UTC