petdance/scratch — Issue #335: PIR heredocs and encodings
Author: petdance
Created: 2011-11-01 05:30:48+00:00
State: open
Labels: core, Pri-normal, Sev-medium, todo

Currently, there is no way to specify the encoding of a heredoc in PIR. Every heredoc is converted to a string in the default ASCII encoding, but 8-bit chars a silently accepted. There are two tests that rely on that behavior:

{{{
t/compilers/imcc/syn/objects.t
t/library/mime_base64.t
}}}

It should be possible to create a heredoc with an encoding like this:

{{{
$S0 = <