syncfiles/scripts
Dietrich Epp 68665d1fff Update documentation comments in extract.py 2022-04-04 13:54:37 -04:00
..
BUILD.bazel Create build rules for generated data 2022-03-22 19:02:57 -04:00
README.md Parse character map information 2022-03-15 13:38:45 -04:00
charmap.csv Parse character map information 2022-03-15 13:38:45 -04:00
encoding.csv Extract hexadecimal constants from enums 2022-04-01 12:17:43 -04:00
extract.py Update documentation comments in extract.py 2022-04-04 13:54:37 -04:00
region.csv Add script and region constants 2022-03-15 12:07:16 -04:00
script.csv Add script and region constants 2022-03-15 12:07:16 -04:00

README.md

Mac OS Region Definitions

This folder contains the script and region definitions for the Mac OS toolbox.

  • extract.py: Generate script.csv and region.csv from the Script.h file in Mac OS Universal Interfaces. The output of this program is checked in, so it does not need to be run again unless the logic is changed.

  • script.csv: Constants identifying scripts.

  • region.csv: Constants identifying localization regions.

  • charmap.csv: Identifies character maps used by classic Mac OS. Each character map is given a name, a data file in the ../charmap folder, and the script and, optionally, regions it corresponds to. This mapping is taken from the readme in the charmap folder. More specific mappings (which contain regions) in this file take precedence less specific mappings (which do not contain regions). For example, Turkish is more specific than Roman.