|
|
|
|
|
|
|
|
for codepoint in data['CodePoint']: |
|
|
for codepoint in data['CodePoint']: |
|
|
unicode_chars[codepoint] = data |
|
|
unicode_chars[codepoint] = data |
|
|
|
|
|
|
|
|
|
|
|
def isspace(data): |
|
|
|
|
|
return data.get('White_Space', 0) |
|
|
|
|
|
|
|
|
null = ucd.CodePoint('0000') |
|
|
null = ucd.CodePoint('0000') |
|
|
if __name__ == '__main__': |
|
|
if __name__ == '__main__': |
|
|
for codepoint in ucd.CodeRange('000000..10FFFF'): |
|
|
for codepoint in ucd.CodeRange('000000..10FFFF'): |
|
|
|
|
|
|
|
|
codepoint, script, |
|
|
codepoint, script, |
|
|
data.get('GeneralCategory', 'Cn')[0], data.get('GeneralCategory', 'Cn'), |
|
|
data.get('GeneralCategory', 'Cn')[0], data.get('GeneralCategory', 'Cn'), |
|
|
upper, lower, title, |
|
|
upper, lower, title, |
|
|
data.get('White_Space', 0))) |
|
|
|
|
|
|
|
|
isspace(data))) |