PERL PERL6 INTERNALS 26 PERL 34285 BUG IS STRING ENCODING WRITTEN TO PBC FILE
Date: Mon, 28 Feb 2005 11:30:45 -0800

Subject: [perl #34285] [BUG] Is string encoding written to PBC file
From: parrotbug-followup@no-spam (Bernhard Schmalhofer)

# 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:

bernhard@no-spam> cat t/op/string_cs_2.pasm set S0, ascii:"ok 1\n"
charset I0, S0
charsetname S1, I0
print S1
print "\n"
end bernhard@no-spam> ./parrot t/op/string_cs_2.pasm ascii bernhard@no-spam> ./parrot -o string_cs_2.pbc -r t/op/string_cs_2.pasm ascii bernhard@no-spam> ./parrot -o string_cs_2.pbc -r -r t/op/string_cs_2.pasm iso-8859-1
bernhard@no-spam> ./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
-- /* Bernhard.Schmalhofer@no-spam */

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

Subject: Re: [perl #34285] [BUG] Is string encoding written to PBC file
Date: Tue, 1 Mar 2005 08:51:24 +0100

From: lt@no-spam (Leopold Toetsch)
Bernhard Schmalhofer <parrotbug-followup@no-spam> wrote:
> 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:

Yep. That's still missing.

Thanks,
leo

Subject: Re: [perl #34285] [BUG] Is string encoding written to PBC file
Date: Tue, 1 Mar 2005 09:26:35 +0100

From: lt@no-spam (Leopold Toetsch)
Bernhard Schmalhofer <parrotbug-followup@no-spam> wrote:

> 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:

Fixed.

leo