Initial commit
This commit is contained in:
28
generator/README.md
Normal file
28
generator/README.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# Generator
|
||||
|
||||
This utility should be used to regenerate tables based on Unicode Character
|
||||
Database (UCD).
|
||||
|
||||
Current version of this utility builds tables and functions for the following
|
||||
properties:
|
||||
|
||||
- Case mappings for lower, upper, title cases (1:1 and 1:M)
|
||||
- Case folding (1:1 and 1:M)
|
||||
- General category
|
||||
|
||||
## Usage
|
||||
|
||||
Compile `Tables.c`
|
||||
|
||||
```
|
||||
gcc Tables.c -o Tables
|
||||
```
|
||||
|
||||
Download and put `UnicodeData.txt`, `CaseFolding.txt`, `SpecialCasing.txt` near
|
||||
the compiled `Tables` program, run it and pipe output into `UCD.c`.
|
||||
|
||||
```
|
||||
Tables > ../UCD.c
|
||||
```
|
||||
|
||||
You can download required files from [here](https://www.unicode.org/Public/UCD/latest/ucd)
|
||||
Reference in New Issue
Block a user