diff options
| author | Kenichi Handa | 2003-06-22 23:27:44 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-06-22 23:27:44 +0000 |
| commit | 8422cc85e81d8749f02809edb1ee19dce934861f (patch) | |
| tree | f8b71668c31bf7158e7293b506ec6a8620dc969a | |
| parent | 0e1fc6c8931fc8b7dd4252c5d2dedd10fe4d3aec (diff) | |
| download | emacs-8422cc85e81d8749f02809edb1ee19dce934861f.tar.gz emacs-8422cc85e81d8749f02809edb1ee19dce934861f.zip | |
(utf-7-decode, utf-7-encode): Use utf-16be, not utf-16-be.
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/international/utf-7.el | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5fef0eec6fa..c5a9b1b6e87 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2003-06-23 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * international/mule-conf.el (utf-16-be): Make it an alias of | ||
| 4 | utf-16be-with-signature. | ||
| 5 | (utf-16-le): Make it an alias of utf-16le-with-signature. | ||
| 6 | (utf-16-be-with-signature, utf-16-le-with-signature): Remove these | ||
| 7 | coding system aliases. | ||
| 8 | |||
| 9 | * international/utf-7.el (utf-7-decode, utf-7-encode): Use | ||
| 10 | utf-16be, not utf-16-be. | ||
| 11 | |||
| 1 | 2003-06-06 Kenichi Handa <handa@m17n.org> | 12 | 2003-06-06 Kenichi Handa <handa@m17n.org> |
| 2 | 13 | ||
| 3 | * international/mule.el (coding-system-category): New function. | 14 | * international/mule.el (coding-system-category): New function. |
diff --git a/lisp/international/utf-7.el b/lisp/international/utf-7.el index f45c7cd905a..087d3042de2 100644 --- a/lisp/international/utf-7.el +++ b/lisp/international/utf-7.el | |||
| @@ -78,7 +78,7 @@ IMAP non-nil means use the IMAP version." | |||
| 78 | (if imap | 78 | (if imap |
| 79 | (subst-char-in-region p (point) ?, ?/)) | 79 | (subst-char-in-region p (point) ?, ?/)) |
| 80 | (base64-decode-region p (point))) | 80 | (base64-decode-region p (point))) |
| 81 | (decode-coding-region p (point) 'utf-16-be) | 81 | (decode-coding-region p (point) 'utf-16be) |
| 82 | (save-excursion | 82 | (save-excursion |
| 83 | (goto-char p) | 83 | (goto-char p) |
| 84 | (delete-backward-char 1))))))) | 84 | (delete-backward-char 1))))))) |
| @@ -120,7 +120,7 @@ ESC and SKIP-CHARS are adjusted for the normal and IMAP versions." | |||
| 120 | (save-restriction | 120 | (save-restriction |
| 121 | ;; encode-coding-region doesn't preserve point | 121 | ;; encode-coding-region doesn't preserve point |
| 122 | (narrow-to-region p (point)) | 122 | (narrow-to-region p (point)) |
| 123 | (encode-coding-region p (point-max) 'utf-16-be) | 123 | (encode-coding-region p (point-max) 'utf-16be) |
| 124 | (base64-encode-region p (point-max)) | 124 | (base64-encode-region p (point-max)) |
| 125 | (if imap | 125 | (if imap |
| 126 | (subst-char-in-region p (point-max) ?/ ?,)) | 126 | (subst-char-in-region p (point-max) ?/ ?,)) |