Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.c

    rf9756bd rcd428e4  
    230230        return value;
    231231}
     232
     233char *set_eval_charset( set_t *set, char *value )
     234{
     235        GIConv cd;
     236
     237        if ( g_strncasecmp( value, "none", 4 ) == 0 )
     238                return value;
     239
     240        cd = g_iconv_open( "UTF-8", value );
     241        if( cd == (GIConv) -1 )
     242                return NULL;
     243
     244        g_iconv_close( cd );
     245        return value;
     246}
Note: See TracChangeset for help on using the changeset viewer.