Req #54355 [Opn->Asn]: Test for de_DE doesn't use UTF-8 locales

From: Date: Wed, 23 Mar 2011 08:54:07 +0000
Subject: Req #54355 [Opn->Asn]: Test for de_DE doesn't use UTF-8 locales
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-159719@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54355&edit=1 ID: 54355 Updated by: aharvey@php.net Reported by: ondrej at sury dot org Summary: Test for de_DE doesn't use UTF-8 locales -Status: Open +Status: Assigned Type: Feature/Change Request -Package: Gettext related +Package: *Languages/Translation Operating System: Any PHP Version: 5.3.6 -Assigned To: +Assigned To: aharvey Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-03-23 09:27:45] ondrej at sury dot org Description: ------------ The tests in tests/lang/bug30638.phpt and tests/lang/034.phpt use only ISO-8859-1 which is rarely supported on current distributions. I have also normalized both tests to use same set of locale names. Test script: --------------- <?php if (setlocale(LC_NUMERIC, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1") === FALSE) { print "skip"; } ?> Expected result: ---------------- // no output Actual result: -------------- skip ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54355&edit=1

« previous php.bugs (#159719) next »