* Character Set Conversion Library 1.0 -- Character Set Names
*
* (c) 1998--2005 Martin Mares <mj@ucw.cz>
+ * (c) 2007 Pavel Charvat <pchar@ucw.cz>
*
* This software may be freely distributed and used according to the terms
* of the GNU General Public License.
*/
-#include "lib/lib.h"
-#include "charset/charconv.h"
+#include <ucw/lib.h>
+#include <charset/charconv.h>
#include <string.h>
"cp852",
"x-mac-ce",
"x-cork",
- "utf-8"
+ "utf-8",
+ "utf-16be",
+ "utf-16le"
};
int
find_charset_by_name(const char *c)
{
- unsigned int i;
+ uint i;
for(i=0; i<CONV_NUM_CHARSETS; i++)
if (!strcasecmp(cs_names[i], c))