setlocale and pt_BR problem on debian

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I'm trying to use setlocale to setup my language to pt_BR for ue with strftime but don't work.

I've tryied:
pt_BR
pt_BR.ISO_8859-1
portuguese.br
etc...


but don't work, i just get in english.

What's wrong? :(

My system:
OS: Debian Sarge
Apache 2
PHP 4.3.10-9

My simple code:

setlocale(LC_ALL, "pt_BR.ISO_8859-1"); // Tryed others too
echo strftime("%A");

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux