diff options
| author | Kenichi Handa | 2007-11-19 06:27:49 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-11-19 06:27:49 +0000 |
| commit | ff41001492f817cbc2e9bc2bc35222c29092421e (patch) | |
| tree | 343b8e9893fe6cc0bacbdaf11940711fb3a5992c | |
| parent | 5ecee3f4fbee436b151d60420a4f5970635bdbd8 (diff) | |
| download | emacs-ff41001492f817cbc2e9bc2bc35222c29092421e.tar.gz emacs-ff41001492f817cbc2e9bc2bc35222c29092421e.zip | |
(utf-7-imap): New coding system.
| -rw-r--r-- | lisp/international/mule-conf.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index 8b78952cd43..7b3ad79772f 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el | |||
| @@ -1419,6 +1419,14 @@ for decoding and encoding files, process I/O, etc." | |||
| 1419 | :pre-write-conversion 'utf-7-pre-write-conversion | 1419 | :pre-write-conversion 'utf-7-pre-write-conversion |
| 1420 | :post-read-conversion 'utf-7-post-read-conversion) | 1420 | :post-read-conversion 'utf-7-post-read-conversion) |
| 1421 | 1421 | ||
| 1422 | (define-coding-system 'utf-7-imap | ||
| 1423 | "UTF-7 encoding of Unicode, IMAP version (RFC 2060)" | ||
| 1424 | :coding-type 'utf-8 | ||
| 1425 | :mnemonic ?u | ||
| 1426 | :charset-list '(unicode) | ||
| 1427 | :pre-write-conversion 'utf-7-imap-pre-write-conversion | ||
| 1428 | :post-read-conversion 'utf-7-imap-post-read-conversion) | ||
| 1429 | |||
| 1422 | ;; Use us-ascii for terminal output if some other coding system is not | 1430 | ;; Use us-ascii for terminal output if some other coding system is not |
| 1423 | ;; specified explicitly. | 1431 | ;; specified explicitly. |
| 1424 | (set-safe-terminal-coding-system-internal 'us-ascii) | 1432 | (set-safe-terminal-coding-system-internal 'us-ascii) |