/************************************************************************/
int check_charset(char **filename,const char *charset) {
char *tmppath;
/************************************************************************/
int check_charset(char **filename,const char *charset) {
char *tmppath;
if (!strncmp(charset,"utf-8",6)) {
*filename=strdup("utf-8");
return 1;
}
tmppath=find_file(stradd(charset,CHARSET_EXT),charset_path);
if (!strncmp(charset,"utf-8",6)) {
*filename=strdup("utf-8");
return 1;
}
tmppath=find_file(stradd(charset,CHARSET_EXT),charset_path);