Hi Todd, I'm trying to follow what you're doing (below in Terminal app on MacOS):
~$ raku Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2021.06. Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d. Built on MoarVM version 2021.06. To exit type 'exit' or '^D' > print Buf.new(0x84, 0x73, 0x77, 0x84, 0x79).decode("utf8-c8") ~ "\n" x84swx84y > Not clear if this is what you expect. I've also run code from https://docs.raku.org/language/unicode#UTF8-C8 and see something different from what's posted there: my $test-file = "/tmp/test"; > given open($test-file, :w, :bin) { > .write: Buf.new(ord('A'), 0xFA, ord('B'), 0xFB, 0xFC, ord('C'), 0xFD); > .close; > } > > say slurp($test-file, enc => 'utf8-c8'); > # OUTPUT: «(65 250 66 251 252 67 253)» > The output I actually see is: AxFABxFBxFCCxFD If I go into /tmp and look at the file created, it contains the following single line: AúBûüCý HTH, Bill. On Sun, Jun 19, 2022 at 8:42 PM ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > >print Buf.new(0x84, 0x73, 0x77, 0x84, 0x79).decode("utf8-c8") ~ "\n" > > x84swx84y >