# New Ticket Created by  Bernhard Schmalhofer 
# Please include the string:  [perl #34285]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=34285 >


Hi,

with 'make testr' I get a single test failure. My guess is that the string
encoding is
not properly written to the dumped PBC file:

[EMAIL PROTECTED]:~/devel/Parrot/cvs/parrot> cat t/op/string_cs_2.pasm
    set S0, ascii:"ok 1\n"
    charset I0, S0
    charsetname S1, I0
    print S1
    print "\n"
    end
[EMAIL PROTECTED]:~/devel/Parrot/cvs/parrot> ./parrot  t/op/string_cs_2.pasm
ascii
[EMAIL PROTECTED]:~/devel/Parrot/cvs/parrot> ./parrot -o string_cs_2.pbc -r 
t/op/string_cs_2.pasm
ascii
[EMAIL PROTECTED]:~/devel/Parrot/cvs/parrot> ./parrot -o string_cs_2.pbc -r -r 
t/op/string_cs_2.pasm
iso-8859-1
[EMAIL PROTECTED]:~/devel/Parrot/cvs/parrot> ./parrot  string_cs_2.pbc
iso-8859-1

So whenever the dumped PBC file is executed, the string is thought to be
'iso-8859-1',
while it should be 'ascii'.

CU, Bernhard

-- 
/* [EMAIL PROTECTED] */

DSL Komplett von GMX +++ Supergïnstig und stressfrei einsteigen!
AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl

Reply via email to