summaryrefslogtreecommitdiffstats
path: root/src/encoding.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-12-11 06:00:53 +0000
committerdelphij <delphij@FreeBSD.org>2014-12-11 06:00:53 +0000
commit2e5be0fdd11aef0d2cb0d88c71946b953019f313 (patch)
treeb244166ac6ad22aa3a3644030c1820586c4b9fc6 /src/encoding.c
parent7893a3c5449c71b45d7eadfe0af1d36c4b36103d (diff)
downloadFreeBSD-src-2e5be0fdd11aef0d2cb0d88c71946b953019f313.zip
FreeBSD-src-2e5be0fdd11aef0d2cb0d88c71946b953019f313.tar.gz
Vendor import of file 5.21.
Diffstat (limited to 'src/encoding.c')
-rw-r--r--src/encoding.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/encoding.c b/src/encoding.c
index b75e0cc..c1b23cc 100644
--- a/src/encoding.c
+++ b/src/encoding.c
@@ -35,7 +35,7 @@
#include "file.h"
#ifndef lint
-FILE_RCSID("@(#)$File: encoding.c,v 1.9 2013/11/19 20:45:50 christos Exp $")
+FILE_RCSID("@(#)$File: encoding.c,v 1.10 2014/09/11 12:08:52 christos Exp $")
#endif /* lint */
#include "magic.h"
@@ -97,7 +97,6 @@ file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, uni
*code_mime = "utf-8";
} else if (file_looks_utf8(buf, nbytes, *ubuf, ulen) > 1) {
DPRINTF(("utf8 %" SIZE_T_FORMAT "u\n", *ulen));
- *code = "UTF-8 Unicode (with BOM)";
*code = "UTF-8 Unicode";
*code_mime = "utf-8";
} else if ((ucs_type = looks_ucs16(buf, nbytes, *ubuf, ulen)) != 0) {
OpenPOWER on IntegriCloud