Downcase charset
RFC 2046 specifies that the charset parameter is case-insensitive. * lisp/gnus/gnus-icalendar.el (gnus-icalendar-with-decoded-handle): Downcase charset. Suggested by Christophe TROESTLER <Christophe.TROESTLER@umons.ac.be>. (Bug#35265).
This commit is contained in:
parent
92f3459cd7
commit
266c62290f
1 changed files with 1 additions and 1 deletions
|
@ -767,7 +767,7 @@ These will be used to retrieve the RSVP information from ical events."
|
|||
`(let ((,charset (cdr (assoc 'charset (mm-handle-type ,handle)))))
|
||||
(with-temp-buffer
|
||||
(mm-insert-part ,handle)
|
||||
(when (string= ,charset "utf-8")
|
||||
(when (string= (downcase ,charset) "utf-8")
|
||||
(decode-coding-region (point-min) (point-max) 'utf-8))
|
||||
,@body))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue