ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm]  php5 LC_CTYPE strtolower
@ 2008-11-16 19:14 Ilis
  2008-11-16 23:25 ` Dmitry Lebkov
  2008-11-17  7:09 ` Yura Kalinichenko
  0 siblings, 2 replies; 4+ messages in thread
From: Ilis @ 2008-11-16 19:14 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Не работает преобразование в нижний регистр кириллицы:

putenv("LC_TIME=ru_RU.utf8");
putenv("LC_CTYPE=ru_RU.utf8");
$loc=setlocale(LC_TIME, null);
print "locLC_TIME=$loc\n";
$loc=setlocale(LC_CTYPE, null);
print "locLC_CTYPE=$loc\n";
print strtolower("qQrRфФяЯ")."\n";
print strftime("%c")."\n";

==

locLC_TIME=ru_RU.utf8
locLC_CTYPE=ru_RU.utf8
qqrrфФяЯ
Пнд 17 Ноя 2008 00:04:59

==

Почему так?

-- 
Кругликов Илья

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-17  7:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-16 19:14 [Comm] php5 LC_CTYPE strtolower Ilis
2008-11-16 23:25 ` Dmitry Lebkov
2008-11-17  7:09 ` Yura Kalinichenko
2008-11-17  7:31   ` Ilis

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git