Where to setlocale(3)?

From: Date: Tue, 07 Nov 2006 03:18:05 +0000
Subject: Where to setlocale(3)?
Groups: php.internals 
Request: Send a blank email to internals+get-26393@lists.php.net to get a copy of this message
How does one PROPERLY set the locale under which PHP scripts run? Is it a script level property, PHP level property, HTTP level property or inherited from the OS default? 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. Where do I look? Thanks, Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/

« previous php.internals (#26393) next »