Update to Unicode 3.2 database.

This commit is contained in:
Martin v. Löwis 2002-10-18 16:11:54 +00:00
parent ecbb0eaa43
commit 9def6a3a77
8 changed files with 14036 additions and 9469 deletions

View file

@ -448,7 +448,7 @@ class UnicodeData:
def __init__(self, filename, expand=1):
file = open(filename)
table = [None] * 65536
table = [None] * 0x110000
while 1:
s = file.readline()
if not s:
@ -476,7 +476,7 @@ class UnicodeData:
# public attributes
self.filename = filename
self.table = table
self.chars = range(65536) # unicode
self.chars = range(0x110000) # unicode 3.2
def uselatin1(self):
# restrict character range to ISO Latin 1