#47226 [Bgs]: strtolower error
| From: | jair at uninove dot br | Date: | Tue, 27 Jan 2009 22:33:11 +0000 |
| Subject: | #47226 [Bgs]: strtolower error | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1767@lists.php.net to get a copy of this message | ||
ID: 47226
User updated by: jair at uninove dot br
Reported By: jair at uninove dot br
Status: Bogus
Bug Type: *Languages/Translation
Operating System: Ubuntu 8.04
PHP Version: 5.2.8
New Comment:
Thanks, just for helping out anybody that come here in the future: on
ubuntu you must generate the locale with "locale-gen locale".
locale-gen pt_BR worked for me!
Previous Comments:
------------------------------------------------------------------------
[2009-01-27 21:27:55] bjori@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2009-01-27 21:16:29] jair at uninove dot br
Description:
------------
strtolower is not converting some characters even with the correct LANG
settings
Reproduce code:
---------------
LANG=pt_BR
LC_ALL=pt_BR
LC_CTYPE=ISO-8859-1
export LANG LC_ALL LC_CTYPE
<?
$m="ABRAÇÃO";
echo strtolower($m);
?>
Expected result:
----------------
abração
Actual result:
--------------
abraÇÃo
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47226&edit=1