2 * Character Set Conversion Library 1.0 -- Character Set Names
4 * (c) 1998--2005 Martin Mares <mj@ucw.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU General Public License.
11 #include "charset/charconv.h"
15 static char *cs_names[] = {
44 find_charset_by_name(char *c)
48 for(i=0; i<CONV_NUM_CHARSETS; i++)
49 if (!strcasecmp(cs_names[i], c))
57 if (i < 0 || i > CONV_NUM_CHARSETS)