Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gmueckl
6 months ago
|
parent
|
context
|
favorite
| on:
How to chop off bytes of an UTF-8 string to fit in...
This is just the general behavior of truncating strings by code point when they contain decomposed glyphs. This can also impact accents etc.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: