X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/charset/blobdiff_plain/efaed6748de62c836d7fb2f7a7c7d415abc1ff98..3e5305f1131c78e7dee9d43ee33d8ea6e5e28c86:/slookup.c diff --git a/slookup.c b/slookup.c index 7a4d7c2..e49e68c 100644 --- 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; +}