Created
May 11, 2017 02:15
-
-
Save yyamano/996d0e72ef2279106e9dfd734b61357d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; http://yanok.net/2010/07/mew34utf-8.html | |
(defun use-utf-8-for-jisx0213(ecsdb) | |
(let ((cs (nth 0 ecsdb)) | |
(enc (nth 1 ecsdb))) | |
(if (equal enc (intern "iso-2022-jp-3")) | |
(list (nth 0 ecsdb) 'utf-8 mew-charset-utf-8-encoding mew-charset-utf-8-header-encoding t) | |
ecsdb))) | |
(setq mew-cs-database-for-encoding (mapcar 'use-utf-8-for-jisx0213 mew-cs-database-for-encoding)) | |
(add-to-list 'mew-field-spec '("^\\(ARC-Seal\\|ARC-Message-Signature\\|ARC-Authentication-Results\\):$" nil)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment