char *charset_path=CHARSETPATH;
char *source_csname=SOURCE_CHARSET, *dest_csname=TARGET_CHARSET;
-short int * source_charset;
+uint16_t * source_charset;
int unknown_as_hex=0;
char bad_char[]=UNKNOWN_CHAR;
CHARSET target_charset;
if (c<0||c>255||uc<0||(uc>0xFEFE&& uc!=0xFFFE)) {
fprintf(stderr,"Invalid charset file %s\n",path);
fclose(f);
+ free(new);
return NULL;
}
new[c]=uc;