1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 17:25:06 +00:00

LibUnicode: Use BCP 47 data to filter valid numbering system names

There isn't too much of an effective difference here other than that the
BCP 47 data contains some aliases we would otherwise not handle.
This commit is contained in:
Timothy Flynn 2022-02-15 14:31:07 -05:00 committed by Tim Flynn
parent 63c3437274
commit 71d86261c3
4 changed files with 27 additions and 16 deletions

View file

@ -16,7 +16,6 @@
namespace Unicode {
Optional<NumberSystem> __attribute__((weak)) number_system_from_string(StringView) { return {}; }
Optional<StringView> __attribute__((weak)) get_number_system_symbol(StringView, StringView, NumericSymbol) { return {}; }
Optional<NumberGroupings> __attribute__((weak)) get_number_system_groupings(StringView, StringView) { return {}; }
Optional<NumberFormat> __attribute__((weak)) get_standard_number_system_format(StringView, StringView, StandardNumberFormatType) { return {}; }