X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Fsetnames.c;h=02dd6a3c201c12471b83ff5c5a86ada2d75e8920;hb=f784f9b6365d92dac7b10ab2e589d02c7445e987;hp=67e0de75a6474d02d584b040620eb0e7d3960c98;hpb=0860307de69e9a3fe012afb5311465a5ff1f1186;p=libucw.git diff --git a/charset/setnames.c b/charset/setnames.c index 67e0de75..02dd6a3c 100644 --- a/charset/setnames.c +++ b/charset/setnames.c @@ -1,27 +1,44 @@ /* * Character Set Conversion Library 1.0 -- Character Set Names * - * (c) 1998 Martin Mares + * (c) 1998--2005 Martin Mares * * This software may be freely distributed and used according to the terms * of the GNU General Public License. */ -#include +#include "lib/lib.h" +#include "charset/charconv.h" + #include -#include "lib/lib.h" -#include "charconv.h" +/* Names according to RFC 1345 (see http://www.iana.org/assignments/character-sets) */ -char *cs_names[] = { +static char *cs_names[] = { "US-ASCII", "ISO-8859-1", "ISO-8859-2", + "ISO-8859-3", + "ISO-8859-4", + "ISO-8859-5", + "ISO-8859-6", + "ISO-8859-7", + "ISO-8859-8", + "ISO-8859-9", + "ISO-8859-10", + "ISO-8859-11", + "ISO-8859-13", + "ISO-8859-14", + "ISO-8859-15", + "ISO-8859-16", "windows-1250", + "windows-1251", + "windows-1252", "x-kam-cs", "CSN_369103", "cp852", "x-mac-ce", + "x-cork", "utf-8" };