# New Ticket Created by "brian d foy" # Please include the string: [perl #132874] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=132874 >
This little program: my $fh = open 'test.txt', :w, :enc('utf16'); put "filehandle is using {$fh.encoding}"; $fh.put: 'Some text'; Gives this error: filehandle is using utf16 write_fhb requires a native array of uint8 or int8 ---- This is Rakudo Star version 2018.01 built on MoarVM version 2018.01 implementing Perl 6.c