More charset parsing updates
This commit is contained in:
@@ -277,6 +277,11 @@ int rfc2ftn(FILE *fp)
|
||||
} else {
|
||||
charset = xstrcpy(q + 8);
|
||||
}
|
||||
/*
|
||||
* Sometimes more information follows so there the charset looks like iso-8859-1;
|
||||
*/
|
||||
if (charset[strlen(charset)-1] == ';')
|
||||
charset[strlen(charset)-1] = '\0';
|
||||
Syslog('m', "Charset \"%s\"", printable(charset, 0));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user