msopacua Tue Oct 29 12:43:08 2002 EDT
Modified files:
/php4/ext/standard/tests/strings strtoupper.phpt
Log:
Add locale for BSDi
# Allthough these characters are used in germany, that doesn't mean, that
# they're not part of the latin-1 character set.
Index: php4/ext/standard/tests/strings/strtoupper.phpt
diff -u php4/ext/standard/tests/strings/strtoupper.phpt:1.4
php4/ext/standard/tests/strings/strtoupper.phpt:1.5
--- php4/ext/standard/tests/strings/strtoupper.phpt:1.4 Thu Oct 24 15:17:09 2002
+++ php4/ext/standard/tests/strings/strtoupper.phpt Tue Oct 29 12:43:08 2002
@@ -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 @@
// 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--
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php