X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/charset/blobdiff_plain/04b6f11105dd1f78a56a3b9de1b3e67e76035e0a..32361bda545f94503610f2cdfc85374a07c56635:/charset.h diff --git a/charset.h b/charset.h index c8e9f16..545784f 100644 --- a/charset.h +++ b/charset.h @@ -198,6 +198,13 @@ int charset_from_macenc(int script, int region, int sysvers, const char *fontname); /* + * Convert GNU Emacs coding system symbol to and from our charset + * identifiers. + */ +const char *charset_to_emacsenc(int charset); +int charset_from_emacsenc(const char *name); + +/* * Upgrade a charset identifier to a superset charset which is * often confused with it. For example, people whose MUAs report * their mail as ASCII or ISO8859-1 often in practice turn out to