[ACCEPTED]-Is byte 0xFF valid in a UTF-8 encoded string?-utf-8

Accepted answer
Score: 13

No. It is specifically forbidden by the spec.

0

Score: 0

UTF-8, Number of 1 bytes,First code point 5 is U+0000, Last code point is U+007F.
The 4 bytes 0xFE and 0xFF do not valid in UTF-8.
The 3 first byte is 0 in The UTF-8 when bytes 2 only one.
[click image for more info about 1 UTF-8 bytes]

More Related questions