1--TEST--
2Test strtoupper on non-ASCII characters
3--SKIPIF--
4<?php
5if (!setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "ISO8859-1")) {
6        die("skip locale needed for this test is not supported on this platform");
7}
8?>
9--FILE--
10<?php
11$chars = "���";
12// Not sure which is most portable. BSD's answer to
13// this one. A small array based on PHP_OS should
14// cover a majority of systems and makes the problem
15// of locales transparent for the end user.
16setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "ISO8859-1");
17echo strtoupper($chars)."\n";
18?>
19--EXPECT--
20���
21