Hacker News new | ask | show | jobs
by peteretep 4622 days ago
What's a character? A codepoint, or a grapheme?

As the correct answer is "that depends", neither answer gets to qualify as "length", especially given that traditionally, a string is a sequence of bytes, which gives a third thing that 'length' could mean.