2 * Character Set Conversion Library 1.0 -- Character Set Names
4 * (c) 1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
6 * This software may be freely distributed and used according to the terms
7 * of the GNU General Public License.
29 find_charset_by_name(char *c)
33 for(i=0; i<CONV_NUM_CHARSETS; i++)
34 if (!strcasecmp(cs_names[i], c))
42 if (i < 0 || i > CONV_NUM_CHARSETS)