Re: setlocale Apache/PHP problem - tentative bug.

From: Date: Wed, 06 Oct 1999 22:47:29 +0000
Subject: Re: setlocale Apache/PHP problem - tentative bug.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-11588@lists.php.net to get a copy of this message
On Thu, 7 Oct 1999, Jouni Ahto wrote: > You think right. That's the cause of your problem. Do setlocale("LC_ALL", > "C") at the end of the page where you changed the locale to pt_BR and > everything is fine. Thanks, sorted out a lot of my problems. Should this be commented on apache-dev to see if it's decided if it's desired behaviour? It strikes me as very strange and unexpected; shouldn't the daemon reset (i.e. do a setlocale ("LC_ALL","C")) itself every time it finishes loading a page? Or is this overhead undesired? It might hurt performance. k

« previous php.dev (#11588) next »