AKB Forums

Go Back   AKB Forums > Technical sections > Languages, Compilers and Interpreters > Web Development
Home Register Blogs FAQ Members List Calendar Downloads Arcade Mark Forums Read

Web Development Java/PHP/Perl/ASP and more

Troubles when posting message? Click here! :: Проблемы с отправлением сообщения? Нажмите сюда!

Reply
 
LinkBack Thread Tools Display Modes
Old Sep 25, 2006, 10:04   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 6
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
PHP/ strtolower for russian text

strtolower() nu i mb_strtolower() ne rabotayut dlya russkogo texta v Unicode kodirovke. Chto delat'?
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old Sep 25, 2006, 11:14   #2
Banned
 
Forever Child's Avatar
 
Join Date: Oct 2001
Location: ...осень колибри
Posts: 7,493
Rep Power: 0
Reputation: 10
Send a message via ICQ to Forever Child Send a message via AIM to Forever Child Send a message via Yahoo to Forever Child
Quote:
Originally Posted by Aram Ghazanchyan View Post
strtolower() nu i mb_strtolower() ne rabotayut dlya russkogo texta v Unicode kodirovke. Chto delat'?
можно и самому написать. к примеру, используя preg_replace.
Forever Child is offline   Reply With Quote Quote selected
Old Sep 25, 2006, 11:16   #3
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: Sep 2002
Location: Yerevan
Posts: 885
Rep Power: 6
Reputation: 14
Send a message via ICQ to Aram Ghazanchyan Send a message via MSN to Aram Ghazanchyan
Ne znayu v chem byla problema, no posle ocherednogo refresha, poluchilos'. Spasibo za vnimanie...
Aram Ghazanchyan is offline   Reply With Quote Quote selected
Old Sep 25, 2006, 23:26   #4
Moderator
 
Join Date: Mar 2002
Location: Ukraine
Posts: 123
Rep Power: 7
Reputation: 10
Quote:
Originally Posted by Forever Child View Post
можно и самому написать. к примеру, используя preg_replace.
Ну если уж так, то проще и быстрее сделать с помощью strtr().
__________________
Життя - це не тільки будні © Nemiroff
hayk is offline   Reply With Quote Quote selected
Old Sep 26, 2006, 06:50   #5
Banned
 
Forever Child's Avatar
 
Join Date: Oct 2001
Location: ...осень колибри
Posts: 7,493
Rep Power: 0
Reputation: 10
Send a message via ICQ to Forever Child Send a message via AIM to Forever Child Send a message via Yahoo to Forever Child
Quote:
Originally Posted by hayk View Post
Ну если уж так, то проще и быстрее сделать с помощью strtr().
так тоже можно.
Forever Child is offline   Reply With Quote Quote selected
Old Sep 27, 2006, 13:14   #6
Школьник
 
TanTaL's Avatar
 
Join Date: Aug 2002
Location: Yerevan,Armenia
Posts: 201
Rep Power: 6
Reputation: 25
Send a message via ICQ to TanTaL
умники

PHP Code:
setlocale(LC_ALL,'russian'); 
__________________
negative photography studio
TanTaL is offline   Reply With Quote Quote selected
Old Sep 27, 2006, 13:23   #7
Школьник
 
TanTaL's Avatar
 
Join Date: Aug 2002
Location: Yerevan,Armenia
Posts: 201
Rep Power: 6
Reputation: 25
Send a message via ICQ to TanTaL
http://am.php.net/manual/en/function.strtolower.php


strtolower
(PHP 3, PHP 4, PHP 5)

strtolower -- Make a string lowercase
Description
string strtolower ( string str )


Quote:
Returns string with all alphabetic characters converted to lowercase.

Note that 'alphabetic' is determined by the current locale. This means that in i.e. the default "C" locale, characters such as umlaut-A (Ä) will not be converted.
__________________
negative photography studio
TanTaL is offline   Reply With Quote Quote selected
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP programmers needed Art007 Jobs 2 Apr 28, 2006 21:30
PHP -> Perl yegdav Web Development 9 Nov 25, 2005 19:17
PHP 4.4.0 Problem... Mesrop Languages, Compilers and Interpreters 24 Nov 9, 2005 09:37
PHP against ASP acid Web Development 1 Aug 6, 2004 21:30
PHP remote vulnerabilities VX Software Security 0 Mar 4, 2002 19:20


All times are GMT. The time now is 03:22.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
This board was founded on September 29, 2001
Powered by Viper Internet

Affordable Web Hosting | ParevNet

Buy text link