* lisp/arc-mode.el (archive-copy-file): Prevent any coding
conversions when writing output files. (Bug#62091)
(with-temp-buffer
(set-buffer-multibyte nil)
(archive--extract-file extractor copy ename)
- (write-region (point-min) (point-max) write-to))
+ (let ((coding-system-for-write
+ (or coding-system-for-write 'no-conversion)))
+ (write-region (point-min) (point-max) write-to)))
(unless (equal copy archive)
(delete-file copy))))))))