note 33415 modified in function.sql-regcase by felipe
| From: | felipe@php.net | Date: | Mon, 10 Dec 2007 02:33:59 +0000 |
| Subject: | note 33415 modified in function.sql-regcase by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133124@lists.php.net to get a copy of this message | ||
if you set right locale:
setlocale(LC_CTYPE,"ru_RU.KOI8-R");
print sql_regcase("Цffnung");
will output:
"[ЦÑ][Ff][Ff][Nn][Uu][Nn][Gg]"
--was--
work, if you set right locale:
setlocale(LC_CTYPE,"ru_RU.KOI8-R");
print sql_regcase("Цffnung");
will output:
"[Цц][Ff][Ff][Nn][Uu][Nn][Gg]"
http://php.net/manual/en/function.sql-regcase.php