mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
(utf-7-imap): New coding system.
This commit is contained in:
parent
5ecee3f4fb
commit
ff41001492
1 changed files with 8 additions and 0 deletions
|
|
@ -1419,6 +1419,14 @@ for decoding and encoding files, process I/O, etc."
|
|||
:pre-write-conversion 'utf-7-pre-write-conversion
|
||||
:post-read-conversion 'utf-7-post-read-conversion)
|
||||
|
||||
(define-coding-system 'utf-7-imap
|
||||
"UTF-7 encoding of Unicode, IMAP version (RFC 2060)"
|
||||
:coding-type 'utf-8
|
||||
:mnemonic ?u
|
||||
:charset-list '(unicode)
|
||||
:pre-write-conversion 'utf-7-imap-pre-write-conversion
|
||||
:post-read-conversion 'utf-7-imap-post-read-conversion)
|
||||
|
||||
;; Use us-ascii for terminal output if some other coding system is not
|
||||
;; specified explicitly.
|
||||
(set-safe-terminal-coding-system-internal 'us-ascii)
|
||||
|
|
|
|||
Loading…
Reference in a new issue