Files
jq/tests
skrmc 70c9dc516f Keep characters after a truncated UTF-8 sequence (#3690)
A multibyte UTF-8 sequence cut short by a non-continuation byte took
every remaining byte of the string, so "a\xf0Zb" became "a\ufffd".

Replace only the lead byte and the continuation bytes that follow it,
the same as an invalid sequence that is not cut short, so "a\xf0Zb"
now becomes "a\ufffdZb". This also changes length and explode on such
strings, which now count the characters that used to be dropped.
2026-11-01 00:59:37 +09:00
..
2014-12-26 23:05:56 -06:00
2024-08-22 08:07:24 +09:00