Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
duped
on June 2, 2023
|
parent
|
context
|
favorite
| on:
It’s not wrong that "🤦🏼♂️".length == 7 (2019)
There is no "most" correct, since the "length" of UTF encoded text is ambiguous. The point of the post is to highlight which semantics are the most useful and the tradeoffs.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: