mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
LibUnicode: Implement grammar validators for Unicode TR-35
ECMA-402 requires validating user input against the EBNF grammar for Unicode locales described in TR-35: https://www.unicode.org/reports/tr35 This commit adds validators for that grammar, as well as other helper to e.g. canonicalize a locale string.
This commit is contained in:
parent
3127454642
commit
b7a95cba65
4 changed files with 313 additions and 0 deletions
|
@ -3,6 +3,7 @@ include(unicode_data.cmake)
|
|||
SET(SOURCES
|
||||
${UNICODE_DATA_SOURCES}
|
||||
CharacterTypes.cpp
|
||||
Locale.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibUnicode unicode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue