• Home
  • Raw
  • Download

Lines Matching full:unicode

5 """Parser for Unicode data files (as distributed by unicode.org)."""
11 # Directory or URL where Unicode tables reside.
12 _UNICODE_DIR = "http://www.unicode.org/Public/6.0.0/ucd"
14 # Largest valid Unicode code value.
19 """Unicode error base class."""
23 """Unicode input error class. Raised on invalid input."""
27 """Converts string to Unicode code point ('263A' => 0x263a).
33 Unicode code point
36 InputError: the string is not a valid Unicode value.
44 raise InputError("invalid Unicode value %s" % (s,))
49 """Converts string to Unicode range.
58 Unicode range
61 InputError: the string is not a valid Unicode range.
71 raise InputError("invalid Unicode range %s" % (s,))
75 """Converts Unicode code point to hex string.
83 Unicode string
86 InputError: the argument is not a valid Unicode value.
89 raise InputError("invalid Unicode value %s" % (v,))
94 """Parses a Unicode continuation field.
98 some Unicode tables use two entries, one for the first
121 """Generic Unicode table text file reader.
124 parsing the two different ways that the Unicode tables specify
129 number of fields. The first field is known to be the Unicode value
139 filename: the Unicode data file to read, or a file-like object.
179 # The Unicode text files have two different ways
180 # to list a Unicode range. Either the first field is
220 """Returns list of Unicode code groups equivalent under case folding.
227 unicode_dir: Unicode data directory
230 list of Unicode code groups
257 unicode_dir: Unicode data directory
278 unicode_dir: Unicode data directory