• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This directory contains Python script to parse several of the Unicode tables
2that are downloadable from the web and generate C header files from them.
3
4These are the locations of the files which are parsed. You should download these
5files and put them in this directory.
6
7http://www.unicode.org/Public/5.1.0/ucd/extracted/DerivedGeneralCategory.txt
8http://www.unicode.org/Public/5.1.0/ucd/extracted/DerivedCombiningClass.txt
9http://www.unicode.org/Public/UNIDATA/auxiliary/GraphemeBreakProperty.txt
10http://www.unicode.org/Public/5.1.0/ucd/Scripts.txt
11
12Then you can run the following python scripts to generate the header files:
13
14python category-parse.py DerivedGeneralCategory.txt category-properties.h
15python combining-class-parse.py DerivedCombiningClass.txt combining-properties.h
16python grapheme-break-parse.py GraphemeBreakProperty.txt grapheme-break-properties.h
17python scripts-parse.py Scripts.txt script-properties.h
18