note 20912 added to function.strtoupper
| From: | urudz at strategma dot bg | Date: | Sun, 21 Apr 2002 13:49:35 +0000 |
| Subject: | note 20912 added to function.strtoupper | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29638@lists.php.net to get a copy of this message | ||
on linux
php gets LC_LOCAL env variable therefor you must set this
export LC_ALL=bg_BG.CP1251
export LANG=bg_BG.CP1251
before starting of apache i have put this to lines in /etc/rc.d/rc.httpd
-----
cat /etc/rc.d/rc.httpd
#!/bin/sh
#
# Start the Apache web server
#
export LC_ALL=bg_BG.CP1251
export LANG=bg_BG.CP1251
case "$1" in
'start')
/usr/sbin/apachectl startssl ;;
'stop')
/usr/sbin/apachectl stop ;;
'restart')
/usr/sbin/apachectl restart ;;
*)
echo "usage $0 start|stop|restart" ;;
esac
-------
in windows you must define your "locale"
in control panel > regional options > general
best regards urudz :>
--
http://www.php.net/manual/en/function.strtoupper.php
http://master.php.net/manage/user-notes.php?action=edit+20912
http://master.php.net/manage/user-notes.php?action=delete+20912
http://master.php.net/manage/user-notes.php?action=reject+20912