`output-coding-system' for Mule 2.3.
* mail-source.el (mail-source-fetch-imap): Ditto.
* imap.el (imap-ssl-open): Ditto.
* gnus-start.el (gnus-product-read-variable-file-1): Ditto.
&rest variables)
(let (gnus-product-file-version method file-ver)
(if (or (condition-case err
- (let ((coding-system-for-read coding))
+ (let ((coding-system-for-read coding)
+ (input-coding-system coding))
(load (expand-file-name file gnus-product-directory) t t t)
nil)
(error (message "%s" err)))
(cond ((eq system-type 'windows-nt)
(let (selective-display
(coding-system-for-write 'binary)
- (coding-system-for-read 'raw-text-dos))
+ (coding-system-for-read 'raw-text-dos)
+ (output-coding-system 'binary)
+ (input-coding-system 'raw-text-dos))
(open-ssl-stream name buffer server port)))
(t
(as-binary-process
(if (and (imap-open server port stream authentication buf)
(imap-authenticate user password buf)
(imap-mailbox-select mailbox nil buf))
- (let (str (coding-system-for-write 'binary))
+ (let (str
+ (coding-system-for-write 'binary)
+ (output-coding-system 'binary))
(with-temp-file mail-source-crash-box
;; if predicate is nil, use all uids
(dolist (uid (imap-search (or predicate "1:*") buf))
(mm-enable-multibyte)
(let ((coding-system-for-read 'binary)
(coding-system-for-write 'binary)
+ (input-coding-system 'binary)
+ (output-coding-system 'binary)
(default-process-coding-system 'binary))
(nnweb-insert url))
(setq buf (buffer-string)))