Hacker News new | ask | show | jobs
by recursive 4618 days ago
Aren't strings sequences of characters?
1 comments

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.