More refactors to prepare for doc-search, including moving unicode support into ext.

This commit is contained in:
2026-01-14 12:30:44 -05:00
parent 4e374294b6
commit 850b4aa43b
10 changed files with 334 additions and 254 deletions

View File

@@ -59,6 +59,7 @@ void split_target(std::string_view target, std::string &cert, std::string &host,
bool is_single_wchar_t(char32_t c);
// Convert a codepoint string into a UTF8-string.
//
// If the codepoint string contains invalid codepoints, they're silently dropped.
//
std::string utf32_to_utf8(const std::u32string &cps);