We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6e1a10 commit 8c078a6Copy full SHA for 8c078a6
lib/std/unicode.zig
@@ -31,7 +31,7 @@ pub fn utf8ByteSequenceLength(first_byte: u8) !u3 {
31
0b0000_0000...0b0111_1111 => 1,
32
0b1100_0000...0b1101_1111 => 2,
33
0b1110_0000...0b1110_1111 => 3,
34
- 0b1111_0000...0b1111_0111 => 4,
+ 0b1111_0000...0b1111_0100 => 4,
35
else => error.Utf8InvalidStartByte,
36
};
37
}
0 commit comments