Re: Non-ASCII paths and git-cvsserver
- From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
- Date
- Nov 13, 2006, 18:30 UTC
- Message-ID
- <200611131930.18300.robin.rosenberg.lists@dewire.com>
- In-Reply-To
- <ej9utk$44p$1@sea.gmane.org>
måndag 13 november 2006 15:20 skrev Jakub Narebski:
Show 9 quoted lines
> sf wrote: > > Thanks, Junio. Paths with umlauts are returned correctly now both in > > UTF-8 and ISO-8859-1. I guess git-cvsserver is now as encoding agnostic > > as git core. > > By the way, now that git has per user config file, ~/.gitconfig, perhaps > it is time to add i18n.filesystemEncoding configuration variable, to > automatically convert between filesystem encoding (somthing you usually > don't have any control over) and UTF-8 encoding of paths in tree objects.
I'd prefer git to store filenames and comments in UTF-8 and convert on input/output when and if it is necessary rather than forcing everybody to take the hit. Most systems, but far from all, already use UTF-8 so it's a noop for them. The only reason I want conversion is for the years to come where we still live in two worlds of non-utf-8 and utf-8 and then forget about everything non-utf-8, rather than carry around the baggage forever.