Emacs ediff, external character sets and text file encodings

Whenever I use a character set in addition to the Latin in a text file (for example, mixing Cyrillic and Latin), I usually choose utf-16 for encoding. That way I can edit the file under OS X using emacs or TextEdit.

But then ediff in emacs stops working. It only says that "the binaries of this and this are different."

Is there any way to configure ediff to work with text files that include foreign characters?

+3
source share
2 answers

Set a variable ediff-diff-optionsand add an option --text.

(setq ediff-diff-options "--text")

Edit:

Ediff , GNU diff, ; diff unicode unicode . "--text" . . GNU Diffutils: ; 1.7 .

+5

utf-8 utf-16. utf-8 Unix, Mac OS X, .

0

All Articles