Skip to content

Conversation

@at-manos
Copy link

Changes

  • Replaces ASCII string operations with grapheme-aware slicing/access to handle multi-byte characters, such as CJK, accents, and emojis.

Tests

  • README examples
  • Emojis
  • Chinese characters
  • Latin accented characters

Preview

```graph
😀 - 笑;
😢 - 哭;
笑 < 夭,竹;
哭 < 口,犬;
犬 < 大;
夭 < 大, 丿
\```
image
```graph
é - à;
à - ü;
ü - ö;
ö - ñ;
ñ - á;
á - ô;
ô - í;
í - é;
é - ü;
ñ - í;
\```
image
```graph
N1.N7 - 网;
网 > A;
\```
image

Replaces ASCII-only string operations with grapheme-aware slicing/access to properly handle multi-byte characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant