develooper Front page | perl.perl5.porters | Postings from February 2000

[ID 20000223.005]

Thread Next
February 23, 2000 08:11
[ID 20000223.005]
Message ID:
~s [Perl 5.5.650] "use locale" effectless?
This is a bug report for perl from,
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:
    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 '
    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
    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/, 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:

Environment for perl v5.5.650:
    LANGUAGE (unset)
    LOGDIR (unset)
    PERL_BADLANG (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About