Re: Where to setlocale(3)?

From: Date: Tue, 07 Nov 2006 08:34:07 +0000
Subject: Re: Where to setlocale(3)?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-26396@lists.php.net to get a copy of this message
Michael B Allen wrote: > How does one PROPERLY set the locale under which PHP scripts run? Is > it a script level property, if you want. PHP level property, yes. HTTP level property or dont know > inherited from the OS default? the default is inherited from the OS unless something is broken. > > I have a module that converts strings between the locale character > encoding and another encoding. Currently setlocale(LC_CTYPE, NULL) > within a script returns 'C' which is to say the locale is not set. 'C' = Posix std locale. > > Where do I look? what do you want to find? ;-) > > Thanks, > Mike >

« previous php.internals (#26396) next »