~mdw
/
sgt
/
charset
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Mechanism for iterating over all supported charsets.
[sgt/charset]
/
slookup.c
diff --git
a/slookup.c
b/slookup.c
index
7a4d7c2
..
e49e68c
100644
(file)
--- a/
slookup.c
+++ b/
slookup.c
@@
-27,3
+27,8
@@
charset_spec const *charset_find_spec(int charset)
return NULL;
}
+
+int charset_exists(int charset)
+{
+ return charset_find_spec(charset) != NULL;
+}