X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Fsetnames.c;h=3f4cdda67bf6274bed957275ae380535be58700a;hb=9adf0cac23ff0639f64a9d510c71e5aab44c27e9;hp=94c7d17e019490b27648deb0db2542e1d93d505e;hpb=69808c861b8df0745bd0bc93793f558e0055da7e;p=libucw.git diff --git a/charset/setnames.c b/charset/setnames.c index 94c7d17e..3f4cdda6 100644 --- a/charset/setnames.c +++ b/charset/setnames.c @@ -2,13 +2,14 @@ * Character Set Conversion Library 1.0 -- Character Set Names * * (c) 1998--2005 Martin Mares + * (c) 2007 Pavel Charvat * * 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 +#include #include @@ -39,13 +40,15 @@ static const char *cs_names[] = { "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