On Mon, 21 Oct 2002, Melvyn Sopacua wrote:
> > >>
> > >>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?
>
> hmm, then my implementation was wrong. If I set $LC_CTYPE correctly,
> then it's fine. However - I have the same setting in .profile.locale, but
> still the XML tests fails for me. Must be a shell issue. I'll try again
> when I've recompiled.
Actually - this is broken:
[EMAIL PROTECTED] ~/cvs/php4
$ sapi/cli/php -f test.php
���
ISO8859-1
[EMAIL PROTECTED] ~/cvs/php4
$ /php/bin/php -f test.php
���
ISO8859-1
[EMAIL PROTECTED] ~/cvs/php4
$ /php/bin/php -v
4.2.3
[EMAIL PROTECTED] ~/cvs/php4
$ sapi/cli/php -v
PHP 4.3.0-dev (cli), Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies
[EMAIL PROTECTED] ~/cvs/php4
$ cat test.php
<?php
echo strtoupper("���"),"\n";
echo getenv("LC_CTYPE"), "\n";
?>
--
With kind regards,
Melvyn Sopacua
<?php include("not_reflecting_employers_views.txt"); ?>
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php