src/mime.c
changeset 160 ca9b52c362cb
parent 159 ad6d0993d1ab
child 191 3bb51ee8f90d
     1.1 --- a/src/mime.c	Sun Mar 29 21:03:41 2015 +0200
     1.2 +++ b/src/mime.c	Sun Mar 29 21:09:16 2015 +0200
     1.3 @@ -1234,7 +1234,7 @@
     1.4  
     1.5      if (part->mm_content_type) {
     1.6          if (_get_content_type(part->mm_content_type, &type, &charset) == 0) {
     1.7 -            if (charset && strcmp(charset, "utf-8") != 0) {
     1.8 +            if (charset && strncasecmp(charset, "utf-8", 5) != 0) {
     1.9                  char * _text;
    1.10                  int r = charconv("utf-8", charset, _longmsg, _size, &_text);
    1.11                  switch (r) {