#38415 [Opn->Csd]: ext/mysqli/tests/028.phpt doesn't validate with charsets other than latin1

From: Date: Thu, 10 Aug 2006 13:44:13 +0000
Subject: #38415 [Opn->Csd]: ext/mysqli/tests/028.phpt doesn't validate with charsets other than latin1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100644@lists.php.net to get a copy of this message
ID: 38415 Updated by: tony2001@php.net Reported By: chtekk at gentoo dot org -Status: Open +Status: Closed Bug Type: MySQLi related Operating System: Gentoo Linux PHP Version: 5.1.4 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-08-10 13:23:44] chtekk at gentoo dot org Description: ------------ ext/mysqli/tests/028.phpt expects latin1 as charset used for MySQL, always. This expectation is not true, as you can compile MySQL and it's libs with any of the supported charsets, on Gentoo for example the default is utf8, so the test fails. Changing the text to just expect a string seems reasonable to me, and works for all existing MySQL charsets... Patch can be found at the following url: http://overlays.gentoo.org/proj/php/browser/patches/php-patches/5.1.4/5.1.4/php5.1.4-test_mysqli028.patch?format=txt Best regards, CHTEKK. Expected result: ---------------- Test works. ;) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38415&edit=1

« previous php.bugs (#100644) next »