mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
These tools were used to read the koi-iso.tab, koi-win.tab, and koi-alt.tab files, which contained the mappings between the single-byte cyrillic encodings. However, those data files were removed in commit4c3c8c048d, back in 2003. These code generators have been unused and unusable ever since. The generated tables live in cyrillic_and_mic.c. There has been one change to the tables since they were generated in 1999, in commitf4b7624eb0. So if we resurrected the original data tables, that change would need to be taken into account. So this code is very dead. The tables in cyrillic_and_mic.c, which were originally generated by these tools, are now the authoritative source for these mappings. Reviewed-by: Tom Lane, Aleksander Alekseev Discussion: https://www.postgresql.org/message-id/flat/a821c3dc-36ec-4cee-8b41-7ccaa17adb18@iki.fi
src/backend/utils/mb/README Encodings ========= conv.c: static functions and a public table for code conversion mbutils.c: public functions for the backend only. stringinfo_mb.c: public backend-only multibyte-aware stringinfo functions wstrcmp.c: strcmp for mb wstrncmp.c: strncmp for mb See also in src/common/: encnames.c: public functions for encoding names wchar.c: mostly static functions and a public table for mb string and multibyte conversion Introduction ------------ http://www.cprogramming.com/tutorial/unicode.html