mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-01 04:47:31 +09:00
Issue #326 - Part 4: Update Unicode data to release 10.0
genUnicodePropertyData.pl's output: unknown ICU script MASARAM_GONDI at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2641. unknown ICU script SOYOMBO at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2663. unknown ICU script ZANABAZAR_SQUARE at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2679. Data for CharProp2 = 14864 Data for FullWidth = 2176 Data for FullWidthInverse = 2688 Total data = 19728
This commit is contained in:
parent
7c2d948210
commit
54489c3029
5 changed files with 75 additions and 115 deletions
|
|
@ -727,14 +727,11 @@ bool nsIDNService::isLabelSafe(const nsAString &label)
|
|||
ch = SURROGATE_TO_UCS4(ch, *current++);
|
||||
}
|
||||
|
||||
// Check for restricted characters; aspirational scripts are NOT permitted,
|
||||
// in anticipation of the category being merged into Limited-Use scripts
|
||||
// in the upcoming (Unicode 10.0-based) revision of UAX #31.
|
||||
IdentifierType idType = GetIdentifierType(ch);
|
||||
if (idType == IDTYPE_RESTRICTED) {
|
||||
return false;
|
||||
}
|
||||
MOZ_ASSERT(idType == IDTYPE_ALLOWED || idType == IDTYPE_ASPIRATIONAL);
|
||||
MOZ_ASSERT(idType == IDTYPE_ALLOWED);
|
||||
|
||||
// Check for mixed script
|
||||
Script script = GetScriptCode(ch);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue