syncfiles/gen
Dietrich Epp 5ad207f785 Embed character map tables in executable
This simplifies the conversion test, since we don't need to be careful
about which data we run the conversion test in. It will also simplify
the command-line conversion tool and its distribution. The classic Mac
OS version of this program will continue to embed conversion tables in
the resource fork.
2022-03-24 23:44:37 -04:00
..
charmap
table
.gitignore
BUILD.bazel Embed character map tables in executable 2022-03-24 23:44:37 -04:00
cdata.go Embed character map tables in executable 2022-03-24 23:44:37 -04:00
data.go Embed character map tables in executable 2022-03-24 23:44:37 -04:00
go.mod
go.sum
main.go Embed character map tables in executable 2022-03-24 23:44:37 -04:00
README.md
rez.go Embed character map tables in executable 2022-03-24 23:44:37 -04:00
scriptmap.go
source.go Embed character map tables in executable 2022-03-24 23:44:37 -04:00

Character Conversion Data Generator

Used by SyncFiles.

This program generates the tables necessary to convert between UTF-8 and various historical Mac OS character sets. Not all character sets are currently supported.

Right now, the table format is not quite finalized, so the output is not checked in to version control. This means that you have to run this program in order to generate the data and compile SyncFiles. It is planned to check the data files in, making this step unnecessary.