Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"\x{c8}" eq v200 is false? #1450

Closed
p5pRT opened this issue Mar 23, 2000 · 2 comments
Closed

"\x{c8}" eq v200 is false? #1450

p5pRT opened this issue Mar 23, 2000 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Mar 23, 2000

Migrated from rt.perl.org#2641 (status was 'resolved')

Searchable as RT2641$

@p5pRT
Copy link
Author

p5pRT commented Mar 23, 2000

From joseph@dixie.cscaper.com

Created by joseph@dixie.cscaper.com

use utf8;
print "\\x{41} and v65 are different\n" unless "\x{41}" eq +v65;
print "\\x41 and v65 are different\n" unless "\x41" eq +v65;
print "\\x{c8} and v200 are different\n" unless "\x{c8}" eq +v200;
print "\\xc8 and v200 are different\n" unless "\xc8" eq +v200;
print "\\x{221b} and v8731 are different\n" unless "\x{221b}" eq v8731;

yields

\x{c8} and v200 are different
\xc8 and v200 are different

What am I missing here?

Perl Info


Site configuration information for perl v5.5.670:

Configured by joseph at Wed Mar 22 17:29:59 MST 2000.

Summary of my perl5 (revision 5.0 version 5 subversion 670) configuration:
  Platform:
    osname=linux, osvers=2.2.12-20, archname=i586-linux-64all
    uname='linux dixie.cscaper.com 2.2.12-20 #1 mon sep 27 10:25:54 edt 1999 i586 unknown '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=define use64bitall=define uselongdouble=define usesocks=undef
  Compiler:
    cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccflags ='-fno-strict-aliasing -I/usr/local/include'
    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
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=4
    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.670:
    /usr/local/devel/perl-longlong/lib/5.5.670/i586-linux-64all
    /usr/local/devel/perl-longlong/lib/5.5.670
    /usr/local/devel/perl-longlong/lib/site_perl/5.5.670/i586-linux-64all
    /usr/local/devel/perl-longlong/lib/site_perl/5.5.670
    /usr/local/devel/perl-longlong/lib/site_perl
    .


Environment for perl v5.5.670:
    HOME=/home/joseph
    LANG=en_US
    LANGUAGE (unset)
    LC_ALL=en_US
    LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib:/oracle/sw/lib
    LOGDIR (unset)
    PATH=/bin:/usr/bin:/home/joseph/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/frame/bin:/usr/local/mysql/bin:/oracle/sw/bin:/usr/sbin:/usr/games:.
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh


@p5pRT p5pRT closed this as completed Nov 28, 2003
@p5pRT
Copy link
Author

p5pRT commented Nov 28, 2003

From The RT System itself

Seem to be fixed in bleeding edge perl. The patch 7231 adds the test cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant