locale not working
| From: | Giancarlo Bonansea | Date: | Sun, 14 Nov 1999 14:09:13 +0000 |
| Subject: | locale not working | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-6212@lists.php.net to get a copy of this message | ||
Hi,
Since I changed the locale information for my computer from "en_US" to
"pt_BR", the phpinfo() does not return locale environment variables and if I
use the setlocale("<envvar>","0"), all variables return "C". So
I need to
use the setlocale in every page. If I return my configuration to "en_US"
then the variables reappear on the phpinfo() ans setlocale() results.
All other settings and programs work perfectly with locale set to "pt_BR".
Just PHP seems to work differently. Now I'm using the setlocale() into a
auto_prepend_file to solve this issue.
Thanks on some advice,
Giancarlo