You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that some of the things mentioned there are explicitly allowed by utf8.js. For example, utf8.js only supports Unicode code points (from 0x0 to 0x10FFFF) as per http://tools.ietf.org/html/rfc3629, so ignore the 5-byte or 6-byte sequences. Also:
There are also some non-characters. U+FFFF is one such - it cannot appear in Unicode, and hence should not appear in UTF-8 encoded data either.
Maybe, but IMHO a good UTF-8 encoder/decoder is able to handle it just fine and convert it to '\uFFFF' in JavaScript. This also seems to be a requirement as per http://encoding.spec.whatwg.org/#utf-8.
The text was updated successfully, but these errors were encountered:
Note that some of the things mentioned there are explicitly allowed by utf8.js. For example, utf8.js only supports Unicode code points (from
0x0
to0x10FFFF
) as per http://tools.ietf.org/html/rfc3629, so ignore the 5-byte or 6-byte sequences. Also:Maybe, but IMHO a good UTF-8 encoder/decoder is able to handle it just fine and convert it to
'\uFFFF'
in JavaScript. This also seems to be a requirement as per http://encoding.spec.whatwg.org/#utf-8.The text was updated successfully, but these errors were encountered: