Skip to content

Getting at notdef unicode codepoints #71

Answered by talltyler
talltyler asked this question in Q&A
Discussion options

You must be logged in to vote

So that you know I've also tried setClusterLevel of 0, 1 and 2 which from my understanding is the main thing that controls which grapheme cluster boundary is used.
The output for one and two for the same as I posted before but setting the value to 0 give this response which seems worse but the docs also recommend not using this cluster level.

[
  { "g": 68, "cl": 0, "ax": 530, "flags": 0, "string": "a" },
  { "g": 0, "cl": 1, "ax": 365, "flags": 0, "string": "\ud83d" },
  { "g": 0, "cl": 1, "ax": 365, "flags": 0, "string": "\ud83d" },
  { "g": 3, "cl": 1, "ax": 0, "flags": 0, "string": "\ud83d" },
  { "g": 0, "cl": 1, "ax": 365, "flags": 0, "string": "\ud83d" },
  { "g": 3, "cl": 1, "ax":…

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@behdad
Comment options

@behdad
Comment options

@behdad
Comment options

@talltyler
Comment options

@behdad
Comment options

Comment options

You must be logged in to vote
4 replies
@behdad
Comment options

@talltyler
Comment options

@behdad
Comment options

@talltyler
Comment options

Answer selected by behdad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #70 on January 14, 2023 20:34.