4 ms·You also can't URL Encode a string (In JS at least) if you truncate an emoji at the beginning or end of it.by codezero 5y agoYou also can't URL Encode a string (In JS at least) if you truncate an emoji at the beginning or end of it.account42 5y agoURL 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.codezero 5y agoJS isn’t the only language that does this.