syncfiles/gen
Dietrich Epp 8e04863cda Fix data paths in generated convert/convert.r
Previously, the Rez file would have entries like this:

    read 'cmap' (128, "Roman") "roman";

That has been fixed to show this:

    read 'cmap' (128, "Roman") "charmap_roman.dat";
2022-11-13 16:19:41 -05:00
..
charmap Add Bazel build scripts 2022-03-22 19:02:57 -04:00
table Add Bazel build scripts 2022-03-22 19:02:57 -04:00
.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 Fix data paths in generated convert/convert.r 2022-11-13 16:19:41 -05:00
scriptmap.go Define include path in one place 2022-03-23 18:04:39 -04:00
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.