Fix script for characters in 3300..3357 range
* admin/unidata/blocks.awk: The characters in the 3300..3357 range are Katakana according to Unicode's Scripts.txt.
This commit is contained in:
parent
661e5dec57
commit
c70ac0fef1
1 changed files with 13 additions and 0 deletions
|
@ -146,6 +146,19 @@ FILENAME ~ "Blocks.txt" && /^[0-9A-F]/ {
|
|||
end[i] = fix_end[e] ? fix_end[e]: e
|
||||
name[i] = $0
|
||||
|
||||
# Hard-coded splits that must be processed before name2alias and
|
||||
# before combining same-named adjacent ranges.
|
||||
if (start[i] == "3300") # See Scripts.txt
|
||||
{
|
||||
end[i] = "3357"
|
||||
name[i] = "Katakana"
|
||||
alt[i] = "kana"
|
||||
i++
|
||||
start[i] = "3358"
|
||||
end[i] = "33FF"
|
||||
name[i] = "CJK Compatibility"
|
||||
}
|
||||
|
||||
alt[i] = name2alias(name[i])
|
||||
|
||||
if (!alt[i])
|
||||
|
|
Loading…
Add table
Reference in a new issue