Closed shogo82148 closed 3 years ago
Current implementation of utf8length is a bit ticky, and it depends the behaviours of unescape. The ECMA-262 standard says that unescape should not be used when writing new ECMAScript code. ref. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/unescape ref. https://262.ecma-international.org/9.0/#sec-additional-ecmascript-features-for-web-browsers
utf8length
unescape
Current implementation of
utf8length
is a bit ticky, and it depends the behaviours ofunescape
. The ECMA-262 standard says thatunescape
should not be used when writing new ECMAScript code. ref. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/unescape ref. https://262.ecma-international.org/9.0/#sec-additional-ecmascript-features-for-web-browsers