Michael Mauch wrote:

[snip]
> >> > "en_US.ISO-8859-1" for example?
> >>
> >>Yup, thats what its set to.
> 
> Hmm. Strange. What does 
> 
>   php -r 'echo strtoupper("äöü"),"\n";'
> 
> yield on your system? And what system is it, btw?


It outputs äöü. Stock RedHat-8.0 box, kernel-2.4.18 glibc-2.2.93.


> We could use a test like strtopper("äöü")=="ÄÖÜ" to check if 
> the system is able to handle these characters correctly. If 
> not, the test could be skipped.
> 

Adding to ext/xml/tests/007.phpt:

if (strtoupper("äöü")!="ÄÖÜ") {  
    print "skip\n";  
}

fixes this for me.

Regards
Mike Robinson


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to