Deleted Added
full compact
38c38
< FILE_RCSID("@(#)$File: encoding.c,v 1.3 2009/02/03 20:27:51 christos Exp $")
---
> FILE_RCSID("@(#)$File: encoding.c,v 1.5 2010/07/21 16:47:17 christos Exp $")
54a55,60
> #ifdef DEBUG_ENCODING
> #define DPRINTF(a) printf a
> #else
> #define DPRINTF(a)
> #endif
>
80a87
> DPRINTF(("ascii %" SIZE_T_FORMAT "u\n", *ulen));
83a91
> DPRINTF(("utf8/bom %" SIZE_T_FORMAT "u\n", *ulen));
86a95,96
> DPRINTF(("utf8 %" SIZE_T_FORMAT "u\n", *ulen));
> *code = "UTF-8 Unicode (with BOM)";
96a107
> DPRINTF(("ucs16 %" SIZE_T_FORMAT "u\n", *ulen));
97a109
> DPRINTF(("latin1 %" SIZE_T_FORMAT "u\n", *ulen));
100a113
> DPRINTF(("extended %" SIZE_T_FORMAT "u\n", *ulen));
106a120
> DPRINTF(("ebcdic %" SIZE_T_FORMAT "u\n", *ulen));
109a124,125
> DPRINTF(("ebcdic/international %" SIZE_T_FORMAT "u\n",
> *ulen));
112a129
> DPRINTF(("binary\n"));