Front page | perl.perl5.porters |
Postings from February 2000
[ID 20000223.005]
Thread Next
From:
gomar
Date:
February 23, 2000 08:11
Subject:
[ID 20000223.005]
Message ID:
20000223160308.1830.qmail@md.media-web.de
~s [Perl 5.5.650] "use locale" effectless?
This is a bug report for perl from gomar@mindless.com,
generated with the help of perlbug 1.27 running under perl v5.5.650.
-----------------------------------------------------------------
[Please enter your report here]
The following snippet of code (ISO8859-1 charset):
use locale;
print int('Ü' =~ /ü/i);
together with appropriate environment settings for LC_ALL (=de_DE) and
LANG (=de) prints 1 (expected result) with Perl 5.00503 and 0 with Perl
5.5.650. I've tried other locale settings too, such as de_DE.ISO8859-1
etc., yet without any improvements. Since I'm not aware of any error
on my part or a misconfiguration of my system, I suppose this to be a
bug. Again, I haven't been experiencing any problems with respect to
locale settings before, neither with Perl 5.00503 and lower, nor with
other programs. (Note: Both Perl 5.00503 and 5.5.650 are linked against
the same versions of libc and libnsl, in case that might matter.)
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Site configuration information for perl v5.5.650:
Configured by root at Tue Feb 15 19:19:50 CET 2000.
Summary of my perl5 (revision 5.0 version 5 subversion 650) configuration:
Platform:
osname=linux, osvers=2.3.40, archname=i586-linux
uname='linux c241-1 2.3.40 #1 fre jan 21 09:14:00 cet 2000 i586 unknown '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usesocks=undef useperlio=undef d_sfio=undef
use64bits=define uselargefiles=define usemultiplicity=undef
Compiler:
cc='cc', optimize='-O2', gccversion=2.95.2 19991024 (release)
cppflags='-Dbool=char -DHAS_BOOL -fno-strict-aliasing -I/usr/local/include'
ccflags ='-Dbool=char -DHAS_BOOL -fno-strict-aliasing -I/usr/local/include -DUSE_LONG_LONG'
stdchar='char', d_stdstdio=define, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.2.so, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Locally applied patches:
---
@INC for perl v5.5.650:
/home/gomar/perl
/usr/lib/perl5/5.5.650/i586-linux
/usr/lib/perl5/5.5.650
/usr/lib/perl5/site_perl/5.5.650/i586-linux
/usr/lib/perl5/site_perl/5.5.650
/usr/lib/perl5/site_perl/5.005/i586-linux
/usr/lib/perl5/site_perl/5.005
/usr/lib/perl5/site_perl
.
---
Environment for perl v5.5.650:
HOME=/home/gomar
LANG=de
LANGUAGE (unset)
LC_ALL=de_DE
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/openwin/lib:/usr/local/kde/lib:/usr/lib/qt/lib:/usr/local/lib/gtk/themes/engines
LOGDIR (unset)
PATH=/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/local/kde/bin:/usr/lib/java/bin/Linux/green_threads:/usr/X11R6/pbmplus:/usr/games:/usr/local/games:/usr/openwin/bin:/usr/games:/home/gomar/bin:.:/usr/bin/TeX
PERL5LIB=/home/gomar/perl
PERL_BADLANG (unset)
SHELL=/bin/bash
Thread Next
-
[ID 20000223.005]
by gomar