summaryrefslogtreecommitdiff
path: root/lib/util/charset/charcnv.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-10-31 15:41:34 +1100
committerAndrew Tridgell <tridge@samba.org>2008-10-31 15:41:34 +1100
commit55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442 (patch)
treeb676358946045bc2271c1c75254ecaac21eb72b9 /lib/util/charset/charcnv.c
parent5ecccac1c34f58019b195f6838f57366faa3575d (diff)
downloadsamba-55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442.tar.gz
samba-55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442.tar.bz2
samba-55d55d9d9b881b2ec09fa76515cdd1cf6f0e2442.zip
finished adding UTF16_MUNGED charset
Changed the approach for the charset to go via utf16, which makes a bit more sense to read. Added a testsuiite for UTF16_MUNGED as part of LOCAL-ICONV
Diffstat (limited to 'lib/util/charset/charcnv.c')
-rw-r--r--lib/util/charset/charcnv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util/charset/charcnv.c b/lib/util/charset/charcnv.c
index 2ae16c3250..9dd68f05ea 100644
--- a/lib/util/charset/charcnv.c
+++ b/lib/util/charset/charcnv.c
@@ -57,6 +57,7 @@ static const char *charset_name(struct smb_iconv_convenience *ic, charset_t ch)
case CH_DOS: return ic->dos_charset;
case CH_UTF8: return "UTF8";
case CH_UTF16BE: return "UTF-16BE";
+ case CH_UTF16MUNGED: return "UTF16_MUNGED";
default:
return "ASCII";
}