2 * Character Set Conversion Library 1.0 -- Character Set Names
4 * (c) 1998--2001 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[] = {
30 find_charset_by_name(char *c)
34 for(i=0; i<CONV_NUM_CHARSETS; i++)
35 if (!strcasecmp(cs_names[i], c))
43 if (i < 0 || i > CONV_NUM_CHARSETS)