locale setting
Tomas
antencek at gmail.com
Mon Apr 24 05:31:31 PDT 2006
Hello all.
I am wondering if anyone else got this problem.
I was trying different locale settings and tested it with date output.
For the selected locale sl_SI.ISO8859-2 the right date output is:
Pon 24 Apr 2006 13:52:17 CEST (weekday name of the day is Pon as
abbreviated Ponedeljek).
It seems like something about locale got broken between 1.2.6-RELEASE
and 1.4.3-RELEASE+.
There are my tests:
root at SRV# uname -a
DragonFly hostname 1.2.5-RELEASE DragonFly 1.2.5-RELEASE #1: Fri Aug 26
10:53:30 CEST 2005
root at hostname:/usr/obj/usr/src-stable-20050617/sys/SRV i386
root at SRV# echo $SHELL
/bin/tcsh
root at SRV# ls /usr/share/locale/ | grep -i sl_si
sl_SI.ISO8859-2
sl_SI.ISO_8859-2
sl_SI.UTF-8
root at SRV# setenv LC_ALL sl_SI.ISO_8859-2
root at SRV# date
Pon 24 Apr 2006 13:52:17 CEST
---> above OK <---
root at www# uname -a
DragonFly hostname 1.2.6-RELEASE DragonFly 1.2.6-RELEASE #1: Wed Oct 26
10:26:58 CEST 2005 root at hostname:/usr/obj/usr/src/sys/WWW i386
root at www# echo $SHELL
/bin/tcsh
root at www# ls /usr/share/locale/ | grep -i sl_si
sl_SI.ISO8859-2
sl_SI.ISO_8859-2
sl_SI.UTF-8
root at www# setenv LC_ALL sl_SI.ISO_8859-2
root at www# date
Pon 24 Apr 2006 13:48:46 CEST
---> above OK <---
root at web# uname -a
FreeBSD hostname 4.11-STABLE FreeBSD 4.11-STABLE #0: Sun Oct 9 00:32:20
CEST 2005 root at hostname:/usr/obj/usr/src/sys/WEB i386
root at web# echo $SHELL
/bin/csh
root at web# ls /usr/share/locale/ | grep -i sl_si
sl_SI.ISO8859-2
sl_SI.ISO_8859-2
root at web# setenv LC_ALL sl_SI.ISO_8859-2
root at web# date
Pon 24 Apr 2006 13:50:47 CEST
---> above OK <---
> uname -a
FreeBSD hostname 5.2.1-RELEASE-p13 FreeBSD 5.2.1-RELEASE-p13 #0: Wed Dec
29 00:40:10 CET 2004
root at hostname:/usr/obj/usr/src-5.2.1-latest/sys/HOST i386
> echo $SHELL
/bin/tcsh
> ls /usr/share/locale/ | grep -i sl_si
sl_SI.ISO8859-2
sl_SI.ISO_8859-2
> setenv LC_ALL sl_SI.ISO_8859-2
> date
Pon 24 Apr 2006 13:55:24 CEST
---> above OK <---
root at web1# uname -a
DragonFly hostname 1.4.3-RELEASE DragonFly 1.4.3-RELEASE #0: Wed Apr 12
23:50:27 CEST 2006 root at hostname:/usr/obj/usr/src/sys/DRAGONFLY i386
root at web1# echo $SHELL
/bin/tcsh
root at web1# ls /usr/share/locale/ | grep -i sl_si
sl_SI.ISO8859-2
sl_SI.ISO_8859-2
sl_SI.UTF-8
root at web1# setenv LC_ALL sl_SI.ISO_8859-2
root at web1# date
Mon Apr 24 13:53:18 CEST 2006
---> above NOT OK <---
root at web3# uname -a
DragonFly hostname 1.5.3-PREVIEW DragonFly 1.5.3-PREVIEW #0: Mon Apr 24
13:44:27 GMT 2006 root at hostname:/usr/obj/usr/src/sys/GENERIC i386
root at web3# echo $SHELL
/bin/csh
root at web3# ls /usr/share/locale/ | grep -i sl_SI
sl_SI.ISO8859-2
sl_SI.ISO_8859-2
sl_SI.UTF-8
root at web3# setenv LC_ALL sl_SI.ISO8859-2
root at web3# date
Mon Apr 24 14:25:27 GMT 2006
---> above NOT OK <---
More information about the Bugs
mailing list