]> granicus.if.org Git - php/commitdiff
- Add locale string for FreeBSD
authorMelvyn Sopacua <msopacua@php.net>
Thu, 24 Oct 2002 19:17:11 +0000 (19:17 +0000)
committerMelvyn Sopacua <msopacua@php.net>
Thu, 24 Oct 2002 19:17:11 +0000 (19:17 +0000)
ATTN: Test nog longer skips, but fails. So whatever has changed since 4.2.3
affects BSD systems.

ext/standard/tests/strings/strtoupper.phpt

index 9d430573064f7d82febe9102ccb811cd744aacd3..32daaf3dec33943ce4cfa15d6727b124712c701b 100644 (file)
@@ -2,7 +2,7 @@
 Test strtoupper on non-ASCII characters
 --SKIPIF--
 <?php
-if (!setlocale(LC_CTYPE, "de_DE", "de", "german", "ge")) {
+if (!setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1")) {
         die("skip locale needed for this test is not supported on this platform");
 }
 ?>
@@ -13,7 +13,7 @@ $chars = "
 // this one. A small array based on PHP_OS should
 // cover a majority of systems and makes the problem
 // of locales transparent for the end user.
-setlocale(LC_CTYPE, "de_DE", "de", "german", "ge");
+setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1");
 echo strtoupper($chars)."\n";
 ?>
 --EXPECT--