Re: This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kyle Smith wrote:

> I don't think your aggressive attitude to the situation is helping
> anyone here.   The manual *explicitly* states that using
> setlocale(LC_xyz,'') will use the environment variable setting for
> that LC_xyz option.  This *implies* that, by default, those
> environment variables are not used.

Which is exactly the bug I reported.  An application that deliberately
ignores the locale setting passed from the environment is buggy unless
it is clearly documented.  Why should a developer be forced to be aware
of the locale when it has already been done for him?  That is just dim. 

Kyle, imagine this - assume the default locale for the PHP CLI is Greek.
In everyone of your scripts you'd have to call setlocale() to get it to
accept your otherwise default US locale. Where's the sense in that when
your machine already has the correct locale?

As for being aggressive - well, being fobbed off with an RTFM when

1) I've spent some time and effort in testing, documenting and reporting
the bug, and
2) the behaviour is at best undocumented,

well, yes, it p...... me off.  It's just not professional and not at all
conducive to getting any more bugs reported. 


/Per

-- 
Per Jessen, Zürich (18.3°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux