The convert function,
Line 1409 in 6e462b8
static auto convert(Buffer& buf, basic_string_view<WChar> s,decodes the surrogate pair,
Line 1422 in 6e462b8
c = (c << 10) + static_cast<uint32_t>(*p) - 0x35fdc00;but does not write the resulting unicode character to the output buffer.
Walked into this when printing a std::filesystem::path on Windows, that uses smiley characters, such as 😀. The character is simply dropped.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4