use libgrapheme to interpret utf8 encoded strings

This commit is contained in:
Alessandro Mauri 2024-12-14 01:06:58 +01:00
parent 8cf3881b6b
commit 0db858e814
6 changed files with 84 additions and 45 deletions

View file

@ -1,6 +1,6 @@
module grapheme;
const uint GRAPHEME_INVALID_CODEPOINT UINT32_C = 0xFFFD;
const uint GRAPHEME_INVALID_CODEPOINT = 0xFFFD;
enum BidirectionalDirection {
GRAPHEME_BIDIRECTIONAL_DIRECTION_NEUTRAL,