|
From: | Stefan Monnier |
Subject: | bug#34350: 27.0.50; ediff-revision broken with SVN backend + non ascii chars both in directory and in filename |
Date: | Fri, 08 Feb 2019 11:08:36 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> I think there's a real mess regarding encoding and decoding stuff in > vc-find-revision and its backend implementations. I can believe it. I think intuitively, in terms of encoding for the file's contents the backends should always return a byte-sequence (i.e. with no-conversion) and the front-end should then decide how to decode it (e.g., obeying the -*- coding -*- cookie and such). But since that holds for all backends, ideally they should be called in such a way that they automatically return bytes (rather than chars) without any extra effort (e.g. without manually binding coding-system-for-read/write). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |