diff options
author | Karl Ramm <kcr@mit.edu> | 2009-03-22 16:27:12 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2009-03-22 16:27:12 +0000 |
commit | d59f5ece62871d2a73e2e45004aae74f083415fe (patch) | |
tree | 5f01535ee726d6a4c49d2220158f20118502f32e /lib/charset.c | |
parent | cb93428e07010584ef9b0a9dce2add5596c9a595 (diff) |
return UNKNOWN if we don't recognize the charset #
Diffstat (limited to 'lib/charset.c')
-rw-r--r-- | lib/charset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/charset.c b/lib/charset.c index dabe4b8..d1f64fc 100644 --- a/lib/charset.c +++ b/lib/charset.c @@ -70,5 +70,6 @@ ZCharsetToString(unsigned short charset) return "ISO-8859-1"; else if (charset == ZCHARSET_UTF_8) return "UTF-8"; + return "UNKNOWN"; } |