Alisa Sireneva 96ae60445d Correct WTF-8 parsing
Closes #877.

This is a good time to make ByteBuf parsing more consistent as I'm
rewriting it anyway. This commit integrates the changes from #877 and
also handles a leading surrogate followed by a surrogate pair correctly.

This does not affect performance significantly.

Co-authored-by: Luca Casonato <hello@lcas.dev>
2024-08-12 21:12:03 +03:00
..
2023-07-06 14:45:48 -07:00
2023-10-24 23:35:42 -07:00
2024-06-30 09:53:12 -07:00
2024-08-12 21:12:03 +03:00