#1796: PIR heredocs and encodings
-----------------------+----------------------------------------------------
Reporter: nwellnhof | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: none | Version: 2.9.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
-----------------------+----------------------------------------------------
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 = <<utf8:"EOF"
utf8 text here
EOF
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1796>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets