projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a mechanism for determining which charset to use for a given Mac OS font,
[u/mdw/putty]
/
charset
/
charset.h
diff --git
a/charset/charset.h
b/charset/charset.h
index
1a2152d
..
7dd038b
100644
(file)
--- a/
charset/charset.h
+++ b/
charset/charset.h
@@
-136,4
+136,10
@@
int charset_from_xenc(const char *name);
const char *charset_to_mimeenc(int charset);
int charset_from_mimeenc(const char *name);
const char *charset_to_mimeenc(int charset);
int charset_from_mimeenc(const char *name);
+/*
+ * Convert Mac OS script/region/font to our charset identifiers.
+ */
+int charset_from_macenc(int script, int region, int sysvers,
+ const char *fontname);
+
#endif /* charset_charset_h */
#endif /* charset_charset_h */