X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=charset%2Fcharset.h;h=0a2e9190fac5d564528a8e0c04e66de6a82e0202;hb=7573f3733f3ba896018dc7b1cdd2b3a51b450096;hp=7dd038bba9219d9cf5812e30bc05258cd2d71f18;hpb=0ea7e350080f1563e99197f42bb37f7508e7b99b;p=PuTTY.git diff --git a/charset/charset.h b/charset/charset.h index 7dd038bb..0a2e9190 100644 --- a/charset/charset.h +++ b/charset/charset.h @@ -136,6 +136,14 @@ int charset_from_xenc(const char *name); const char *charset_to_mimeenc(int charset); int charset_from_mimeenc(const char *name); +/* + * Convert our own encoding names to and from our charset + * identifiers. + */ +const char *charset_to_localenc(int charset); +int charset_from_localenc(const char *name); +int charset_localenc_nth(int n); + /* * Convert Mac OS script/region/font to our charset identifiers. */