Ticket #1796 (new todo)

Opened 11 years ago

Last modified 11 years ago

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

Changed 11 years ago by jkeenan

  • component changed from none to core
Note: See TracTickets for help on using tickets.