Re: utf8 BOM
- From
- Tait <git.git@t41t.com>
- Date
- May 16, 2010, 11:26 UTC
- Message-ID
- <20100516112612.GV2480@ece.pdx.edu>
- In-Reply-To
- <00E0B9AC-2A2E-4F95-9B35-F3F63EBC3CF3@gmail.com>
> Okay, so something that checks text files to see if they're utf... > "core.autoutf", anyone?
This (and crlf-conversion, for that matter) strikes me as something best handled outside of git core, such as through checkout/commit hooks. Perhaps examples of such hooks could be provided and adapted by each project and user as that user/project sees fit for their specific choice of repository format and development environment.
Given that git already chose not to screw around with encodings or define a canonical encoding for the on-disk format (it's just a string of bytes), it would be consistent and reasonable to not mess with these other things, too.
Tait