bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-diffutils] New diff option to compare file/directory properties


From: Paul Eggert
Subject: Re: [bug-diffutils] New diff option to compare file/directory properties
Date: Fri, 15 Oct 2010 16:00:02 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

On 10/15/10 06:38, Andreas Gruenbacher wrote:
> One of the key differences between quoting in gnulib and in git is that 
> gnulib 
> treats filenames as sequences of characters which may be multi-byte, while 
> git 
> treats them as sequences of bytes.
> 
> I'm not sure about the reasoning behind ignoring multi-byte characters; maybe 
> Paul or Junio can enlighten us.

I can't speak for Jun, but I expect the answer is, "Don't worry
about stupid encodings".  If you use a reasonable encoding like UTF-8,
git's quoting method works just like gnulib's does.  I don't think diffutils
(or git) needs to worry about what happens to users who insist on using
those awful legacy encodings.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]