Subject: bug#49808: 27.1; ediff assumes user's language is English

From: Andreas Schwab <[email-masked]>
Date: Mon, 02 Aug 2021 09:28:44 +0200

On Aug 01 2021, Eli Zaretskii wrote:

>> From: Matthieu Dubuget <[email-masked]>
>> Date: Sun, 1 Aug 2021 12:55:34 +0200
>> 
>> 
>> When using Ediff with a non-English locale, errors returned by diff are
>> not recognized by Ediff.
>> 
>> When diff outputs a localized version of "\ No newline at end of file",
>> ediff do not recognize it and fails to display the differences.
>> 
>> See https://stackoverflow.com/q/9242651/3407924
>> and this post for a clear explanation of the problem:
>> https://stackoverflow.com/a/9244759/3407924
>
> The "usual" solution is to insert "LANG=C" into the envirnment before
> running the Diff program.

I don't think it is necessary to match on the text of that line, the
"\\" prefix should be enough.

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."