You just call the setlocale() function in PHP.

On 6-Nov-06, at 10:18 PM, Michael B Allen wrote:

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/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Ilia Alshanetsky

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to