[ Sorry Derick, missed a whole bunch of CVS mail, because of multiple spaces in the subject and my overeager filtering :) ]
At 23:58 21-10-2002, Michael Mauch wrote:
Derick Rethans <[EMAIL PROTECTED]> wrote:While I agree, the only thing that should be needed is LC_CTYPE to ISO-8859-1,
> On Mon, 21 Oct 2002, Melvyn Sopacua wrote:
>
>> msopacua Mon Oct 21 04:55:07 2002 EDT
>>
>> Modified files:
>> /php4/ext/xml/tests 007.phpt
>> Log:
>> Skip this when strtoupper doesn't behave as expected, because casefolding
>> depends on this.
>
> erm, this is just a local problem. Just set the locale to "German" here
> and it will work just fine I think. IMO this is a hack :)
The problem is that there are an awful lot of "German" locales.
which is somewhat managable (ISO8859=1 is the most portable I think?).
IIC - Michael is right that locale names are even less consistent, than a lawyer.
So you can either setlocale(LC_CTYPE, "some string") then test if it works, maybe
try again with "other string", but you can't grab'm all.
Apart from that:
[EMAIL PROTECTED] ~/cvs/php4
$ /php/bin/php -f ext/standard/tests/strings/strtoupper.phpt
--TEST--
Test strtoupper on non-ASCII characters
--POST--
--GET--
--FILE--
ÀËÏ--EXPECT--
ÄËÏ
[EMAIL PROTECTED] ~/cvs/php4
$ sapi/cli/php -f ext/standard/tests/strings/strtoupper.phpt
--TEST--
Test strtoupper on non-ASCII characters
--POST--
--GET--
--FILE--
àëï--EXPECT--
ÄËÏ
/php/bin/php is 4.2.3 so something has changed not for the better :(
Should I file a bugreport?
Met vriendelijke groeten / With kind regards,
Webmaster IDG.nl
Melvyn Sopacua
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php