develooper Front page | perl.perl5.porters | Postings from May 2004

[perl #29553] using 8-bit character in Format triggers error

Thread Next
From:
Ulrich Windl
Date:
May 14, 2004 01:06
Subject:
[perl #29553] using 8-bit character in Format triggers error
Message ID:
rt-3.0.9-29553-87349.16.2671526348621@perl.org
# New Ticket Created by  "Ulrich Windl" 
# Please include the string:  [perl #29553]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=29553 >


This is a bug report for perl from Ulrich.Windl@rz.uni-regensburg.de,
generated with the help of perlbug 1.33 running under perl v5.6.1.


-----------------------------------------------------------------
[Please enter your report here]
Perl emits the following error:
syntax error at /home/windl/src/Perl/p301inq.pl line 100, next char ;
Unrecognized character \xF6 at /home/windl/src/Perl/p301inq.pl line 100.

for this format:

format STDOUT_TOP =
===============================================================================
Empfangene Nachrichten von IK @<<<<<<<<<<<<<<                         Seite @##
-------------------------------------------------------------------------------
@header,                                                                    $%
Auftragsdatei  Fehler  Info    Dateiname   Größe         Nummer
Erstellt            Datum gesendet      Datum empf. Start   Datum empf. Ende
===============================================================================
.

Using "use locale;" and/or setting $LANG does not change things. I think this
is a bug; 8-bit characters should be supported.

P.S.: "perlbug" doesn't handle 8-bit characters correctly: It should MIME-encode
them, but doesn't

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=medium
---
Site configuration information for perl v5.6.1:

Configured by gsar at Mon Jun 17 20:59:16 PDT 2002.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi
    uname='hp-ux llbertha b.11.00 u 9000800 2002402864 unlimited-user license '
    config_args='-des -Dcf_by=ActiveState -Dcf_email=ActivePerl@ActiveState.com -
Uinstallusrbinperl -Ud_sigsetjmp -Dusethreads -Duseithreads -Duselargefiles -
Dinc_version_list=5.6.0/$archname 5.6.0 -Dcc=gcc -Accflags=-mpa-risc-1-1 -fPIC -
Dd_attribut=undef -Darchname=PA-RISC1.1 -Dcccdlflags=-fPIC -Dprefix=/opt/perl'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='gcc', ccflags ='-DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -
D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-
aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O',
    cppflags='-DUSE_REENTRANT_API -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -
L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -
I/usr/local/include'
    ccversion='', gccversion='2.9-hppa-991112', gccosandvers='hpux11.00'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
    perllibs=-lnsl -lnm -lmalloc -ldld -lm -lpthread -lc -lndir -lcrypt -lsec
    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E '
    cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib'

Locally applied patches:
    ACTIVEPERL_LOCAL_PATCHES_ENTRY

---
@INC for perl v5.6.1:
    /opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi
    /opt/perl/lib/5.6.1
    /opt/perl/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi
    /opt/perl/lib/site_perl/5.6.1
    /opt/perl/lib/site_perl
    .

---
Environment for perl v5.6.1:
    HOME=/home/c11adm
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

PATH=.:/home/c11adm:/usr/sap/C11/SYS/exe/run:/oracle/C11/817_64/bin:/usr/bin:/usr/
ccs/bin:/usr/contrib/bin:/opt/hparray/bin:/opt/nettladm/bin:/opt/upgrade/bin:/opt/
fcms/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/mx/bin:/opt/resmon/bin
:/opt/scr/bin:/opt/ignite/bin://opt/perl/bin:/opt/graphics/common/bin:/usr/sbin/di
ag/contrib:/opt/hpnpl//bin:/opt/mozilla:/opt/netscape:/oracle/C11/AOMscripts
    PERL_BADLANG (unset)
    SHELL=/usr/bin/csh
    SHLIB_PATH=/oracle/C11/817_64/lib:/usr/sap/C11/SYS/exe/run




Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About