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

From: Date: Thu, 10 Aug 2006 13:23:44 +0000
Subject: #38415 [NEW]: ext/mysqli/tests/028.phpt doesn't validate with charsets other than latin1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100639@lists.php.net to get a copy of this message
From: chtekk at gentoo dot org Operating system: Gentoo Linux PHP version: 5.1.4 PHP Bug Type: *General Issues Bug description: ext/mysqli/tests/028.phpt doesn't validate with charsets other than latin1 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 bug report at http://bugs.php.net/?id=38415&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38415&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38415&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38415&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38415&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38415&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38415&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38415&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38415&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38415&r=support Expected behavior: http://bugs.php.net/fix.php?id=38415&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38415&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38415&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38415&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38415&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38415&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38415&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38415&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38415&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38415&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38415&r=mysqlcfg

« previous php.bugs (#100639) next »