Y
Hacker News
new
|
ask
|
show
|
jobs
by
codezero
1610 days ago
You also can't URL Encode a string (In JS at least) if you truncate an emoji at the beginning or end of it.
1 comments
account42
1609 days ago
URL Encoding works on bytes and does not concern itself with the character encoding of those bytes (except assuming that it is an ASCII superset) so this is only a limitation of the JS implementation.
link
codezero
1609 days ago
JS isn’t the only language that does this.
link