Re: GIT character codecs
From: Marco Costalba <hidden>
Date: 2016-06-15 22:42:11
Linus Torvalds wrote:
On Sun, 13 Nov 2005, Marco Costalba wrote:quoted
If encoding is a per-blob _and_ per-log message property a real solution, although cumbersone, could be that git stores encoding togheter with the blob and the commits.We'd be much better off with just saying "we encourage people to use utf-8, but if you don't, just set your locale to make things show up properly". utf-8 is clearly the future, and if we make git internally aware of locales, that's just going to complicate things. And usually for no good reason, since users don't really care that much.
Yes, I agree with you and Junio, a workaround like let the user to choose the code page in the viewer is more then enough. And also in this case, a choice between the local codec and utf-8 should take almost all cases. Because of this, I added a text codec selector in qgit, reachable from settings menu. There is a new release, qgit-0.97.2, with this new feature and some good annotate fixes. For the people interested the page with all the links is: http://digilander.libero.it/mcostalba/ Marco P.S: Now I can finally see Junio japanese name ;-) __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com