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 60e1f9e commit e59ecb6Copy full SHA for e59ecb6
lib/_input_ucs.pyx
@@ -25,7 +25,7 @@ cdef inline int encode_utf8(SourceData *source_data, Codepoint v) nogil:
25
return (codepoint>>12) | 0xE0
26
27
elif (Codepoint is uint32_t) or (codepoint < 0x110000):
28
- source_data.sub_remaining = 2
+ source_data.sub_remaining = 3
29
source_data.sub_string[0] = (codepoint & 0x3F) | 0x80
30
source_data.sub_string[1] = ((codepoint >> 6) & 0x3F) | 0x80
31
source_data.sub_string[2] = ((codepoint >> 12) & 0x3F) | 0x80
0 commit comments