News for hackers. Stuff that matters.
Re:The Secret Life of NaN by wpollock on Monday April 27, 2026 @07:02PM (#47928476)
> ... Unicode says that 0xFF is an invalid character.

Not so. You may be thinking of UTF-8 encoding. 0xff is DEL in Unicode.

Re:The Secret Life of NaN by WalterBright on Monday April 27, 2026 @07:16PM (#47928572)
The "char" type in D represents a UTF-8 code unit, the byte 0xFF is not a valid character code and is strictly forbidden.
Re:The Secret Life of NaN by LittleLily on Monday April 27, 2026 @09:28PM (#47929480)
DEL is unicode codepoint U+007F, which is the byte 0x7F in UTF-8, not 0xFF. Perhaps you were thinking of ÿ which is codepoint U+00FF, which encodes to the bytes 0xC3 0xBF in UTF-8.
Re:The Secret Life of NaN by wpollock on Wednesday April 29, 2026 @01:17PM (#47951408)
I was thinking of DEL, but was obviously mistaken. Thanks for catching that!