Actions
Bug #19532
closedHandling of 6-byte codepoints in left_adjust_char_head in CESU-8 encoding is broken
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-linux]
Description
irb(main):001:0> "\u{10000}".encode("cesu-8").chop
=> "\xED\xA0\x80"
But it should be ""
.
Actions
Like0
Like0Like0Like0Like0Like0Like0