if (name == NULL) return NULL; for (charset = Charsets; charset->name; charset++)
char buffer[SHORT_STRING];  init_charsets(); canonical_charset(buffer, sizeof(buffer), name); if(!(charset = hash_find(Charsets, buffer)))
CHARSET *mutt_get_charset(const char *name){  CHARSET *charset;  if (name == NULL) return NULL;  for (charset = Charsets; charset->name; charset++)   {    if (strcasecmp(charset->name, name) == 0)      return charset;  }  return NULL;}