mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibUnicode: Canonicalize locale private use extensions
This commit is contained in:
committed by
Linus Groh
parent
6f0cb52dc4
commit
f897c2edb3
@@ -580,7 +580,11 @@ Optional<String> canonicalize_unicode_locale_id(LocaleID& locale_id)
|
||||
});
|
||||
}
|
||||
|
||||
// FIXME: Handle pu_extensions.
|
||||
if (!locale_id.private_use_extensions.is_empty()) {
|
||||
builder.append("-x"sv);
|
||||
for (auto const& extension : locale_id.private_use_extensions)
|
||||
append_sep_and_string(extension);
|
||||
}
|
||||
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user