The DM4 says that by default source text can include any Latin-1 character. I’m compiling to Glulx, so I expected all such characters to be preserved, but it looks like the multiplication sign is being mapped to the letter ‘x’ by the compiler: the following prints ‘1’.
[ floob ; print '×' == 'x'; ];
Am I misunderstanding something?
Oh, my source file was UTF-8 encoded. That’s why it got 1404 instead of 215. If I either change the file encoding to Latin-1, or compile with the -cU flag, I get 215, which is the correct output.
Okay, thanks. It turns out it was ni that was doing the ‘×’ to ‘x’ conversion (the code I was using was inside an I6 inclusion). Since the documentation never addresses what characters are legal in I6 inclusions, I guess this doesn’t qualify as a bug.