]> granicus.if.org Git - php/commitdiff
Add locale for BSDi
authorMelvyn Sopacua <msopacua@php.net>
Tue, 29 Oct 2002 17:43:08 +0000 (17:43 +0000)
committerMelvyn Sopacua <msopacua@php.net>
Tue, 29 Oct 2002 17:43:08 +0000 (17:43 +0000)
# Allthough these characters are used in germany, that doesn't mean, that
# they're not part of the latin-1 character set.

ext/standard/tests/strings/strtoupper.phpt

index 32daaf3dec33943ce4cfa15d6727b124712c701b..41bc5e6080643d881848713c1471831e53c0bd0f 100644 (file)
@@ -2,7 +2,7 @@
 Test strtoupper on non-ASCII characters
 --SKIPIF--
 <?php
-if (!setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1")) {
+if (!setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "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", "de_DE.ISO8859-1");
+setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "ISO8859-1");
 echo strtoupper($chars)."\n";
 ?>
 --EXPECT--