Post #2591451
2025-09-22 10:24 UTC
@797@merveilles.town What do you mean, "32-bit Unicode" ? Did you develop a better way to map combined glyphs than the Consortium did?
(After all, a single code point is but 21 bits — and while there's lot of combining characters, most of the theoreticlly feasible combintions do not actually make sense.)
Replies (2)
-
@797@merveilles.town 2025-09-22 11:56
@riley@toot.cat Full unicode encoded as https://en.wikipedia.org/wiki/UTF-32 in std::basic_string with U"literals", so that strings can be indexed sensibly. It automatically converts to UTF-8 for you.
-
@JensRestemeier@mastodon.gamedev.place 2025-09-22 12:18
@riley@toot.cat @797@merveilles.town I do expect that this isn't using a 21 bit frame buffer. ;) Easiest way to store code points without a variable length 8 or 16 bit format is 32 bit.