Ticket #1796 (new todo)
PIR heredocs and encodings
Reported by: | nwellnhof | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | 2.9.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
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
Change History
Note: See
TracTickets for help on using
tickets.