+2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
+
+ * Clarify UTF-8 BOM message (Reuben Thomas)
+
+ * Add HTML comment to token list in names.h
+
2007-02-04 15:50 Christos Zoulas <christos@astron.com>
* Debian fixes (Reuben Thomas)
#include "names.h"
#ifndef lint
-FILE_RCSID("@(#)$File: ascmagic.c,v 1.57 2008/02/07 03:10:20 christos Exp $")
+FILE_RCSID("@(#)$File: ascmagic.c,v 1.58 2008/02/08 13:31:19 christos Exp $")
#endif /* lint */
typedef unsigned long unichar;
code_mime = "us-ascii";
type = "text";
} else if (looks_utf8_with_BOM(buf, nbytes, ubuf, &ulen) > 0) {
- code = "UTF-8 Unicode with BOM";
+ code = "UTF-8 Unicode (with BOM)";
code_mime = "utf-8";
type = "text";
} else if (looks_utf8(buf, nbytes, ubuf, &ulen) > 1) {
* appear at fixed offsets into the file. Don't make HOWMANY
* too high unless you have a very fast CPU.
*
- * $File: names.h,v 1.30 2008/01/26 18:45:16 christos Exp $
+ * $File: names.h,v 1.31 2008/02/07 00:58:52 christos Exp $
*/
/*
{"<body", L_HTML},
{"<BODY", L_HTML},
{"<html", L_HTML},
- {"<HTML", L_HTML}
+ {"<HTML", L_HTML},
+ {"<!--", L_HTML},
};
#define NNAMES (sizeof(names)/sizeof(struct names))