Commit 9494e77e authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Bugfix to handle UTF-8 postings as created by Rasmus Stens weblatte:

Handle whitespace after ";" in content-type.
parent c1c79498
2004-11-11 Pontus Freyhult <>
Handle UTF-8 postings created by Rasmus Stens Weblatte:
* mime.el (lyskom-mime-decode-content-type): Allow whitespace
after ";" in content-types.
2004-11-03 Pontus Freyhult <>
Use kom-default-* as user variables, not lyskom-default-*:
......@@ -126,7 +126,7 @@
(setq content-type (match-string 0 data))
(setq start (match-end 0)))
(while (string-match ";\\([^=;]*\\)\\(=\\([^;]*\\)\\)" data start)
(while (string-match ";\\s *\\([^=;]*\\)\\(=\\([^;]*\\)\\)" data start)
(let ((param-name (intern (match-string 1 data)))
(param-value (match-string 3 data)))
(when (and (memq param-name '(charset format))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment