mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-04 23:07:16 +00:00
There were two problems: 1. They didn't handle surrogates 2. They used signed chars, leading to eg 0x00e4 being treated as 0xffe4 Also add a basic test that catches both issues. There's some code duplication with Utf16CodePointIterator::operator*(), but let's get things working first.