I've not been following this thread, but wanted to point out that there is now mb_convert_case() available in the mbstring extension. It is locale independent and you can specify the charset of the string whose case you want to convert.
proto string mb_convert_case(string sourcestring, int mode [, string encoding]) mode is one of: MB_CASE_UPPER, MB_CASE_LOWER, MB_CASE_TITLE. with that, I withdraw from this thread, --Wez. On 20/10/02, "Mike Robinson" <[EMAIL PROTECTED]> wrote: > 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php