Variable: ediff-coding-system-for-read
ediff-coding-system-for-read is a customizable variable defined in
ediff-init.el.gz.
Value
raw-text
Documentation
Coding system for read to use when running the diff program as a subprocess.
In most cases, the default will do. However, under certain circumstances in
MS-Windows you might need to use something like raw-text-dos here.
So, if the output that your diff program sends to Emacs contains extra ^M's,
you might need to experiment here, if the default or raw-text-dos doesn't
work.
Source Code
;; Defined in /usr/src/emacs/lisp/vc/ediff-init.el.gz
(defcustom ediff-coding-system-for-read 'raw-text
"Coding system for read to use when running the diff program as a subprocess.
In most cases, the default will do. However, under certain circumstances in
MS-Windows you might need to use something like `raw-text-dos' here.
So, if the output that your diff program sends to Emacs contains extra ^M's,
you might need to experiment here, if the default or `raw-text-dos' doesn't
work."
:type 'symbol
:group 'ediff)