Raku / old-issue-tracker

Tickets from RT
https://github.com/Raku/old-issue-tracker/issues
2 stars 1 forks source link

Have MVM_string_utf16_encode_substr emit a BOM #4773

Open p6rt opened 8 years ago

p6rt commented 8 years ago

Migrated from rt.perl.org#126704 (status was 'new')

Searchable as RT126704$

p6rt commented 8 years ago

From @hoelzro

Since MVM_string_utf16_encode_substr operates on UTF-16 using native endianness, it should emit a BOM into the returned buffer.