Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
account42
7 months ago
|
parent
|
context
|
favorite
| on:
How to chop off bytes of an UTF-8 string to fit in...
This is a completely unrelated problem since the article is quite clearly about limiting to a certain maximum byte length and not display length. For display length you don't even need Unicode for that to depend on the font and shaping engine.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: