Req #54355 [Asn->Csd]: Test for de_DE doesn't use UTF-8 locales
| From: | aharvey@php.net | Date: | Wed, 23 Mar 2011 08:59:16 +0000 |
| Subject: | Req #54355 [Asn->Csd]: Test for de_DE doesn't use UTF-8 locales | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159722@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: Assigned
+Status: Closed
Type: Feature/Change Request
Package: *Languages/Translation
Operating System: Any
PHP Version: 5.3.6
Assigned To: aharvey
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
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.
Thanks OndÅej!
Previous Comments:
------------------------------------------------------------------------
[2011-03-23 09:59:13] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=309586
Log: Implement request #54355 (Test for de_DE doesn't use UTF-8
locales). Patch by
OndÅej Surý.
------------------------------------------------------------------------
[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