[perl #132874] writing to utf16 handle gives write_fhb error

2018-02-16 Thread Zoffix Znet via RT
On Fri, 16 Feb 2018 00:56:27 -0800, comdog wrote: > 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

[perl #132874] writing to utf16 handle gives write_fhb error

2018-02-16 Thread Zoffix Znet via RT
On Fri, 16 Feb 2018 00:56:27 -0800, comdog wrote: > 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

[perl #132874] writing to utf16 handle gives write_fhb error

2018-02-16 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #132874] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132874 > This little program: my $fh = open 'test.txt', :w, :enc('utf16'); put