735
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 15 Feb 2025
735 points (100.0% liked)
Fedibridge
779 readers
21 users here now
A community to organize and discuss the growth of the fediverse as a whole
Related communities
Megathreads
founded 5 months ago
MODERATORS
That zero-width hack doesn't seem to work:
Wait how high am I? The example on top returns a length one higher than the example on bottom, because it has a non-printable character in there right?
Yes.
You said it doesn’t work, then showed an example of it working? I guess I’m still high.
Uh wait did you edit the post and resolve something
Also nice going to python, I went to a web tool (Unicode char identifier) but gotta get more serious about 👨💻
I'd just post something like:
If it weren't working your code wouldn't count an additional character on the first string.
Anyway, this is the character., as it seems that deleting the first parenthesis also deletes the ZWJ.