Re: Use and properties of characters above U+10FFFF
Felix Winkelmann via Chicken-users <[email protected]> Thu, 14 May 2026 20:47:09 +0200
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
On Thu May 14, 2026 at 8:38 PM CEST, Peter McGoron via Chicken-users wrote: > Chicken allows for characters with values beyond what the Unicode=20 > standard allows, like #\x1FFFFF. They have some weird properties (on=20 > 6.0.0-rc3): > > * (string #\x1FFFFF) ; -> "\0" > * (let ((p (open-output-string))) > (write-char #\x1FFFFF p) > (get-output-string p) ; -> "" > * (string->utf8 (string #\x1FFFFF)) ; -> #u8() > > Is there any purpose or use for them? > CHICKEN explicitly only suports characters up to #\x10ffff (4 "f"'s, 4 bytes max encoded). cheers, felix