Re: utf8 BOM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tait
Subject: Re: utf8 BOM
Date: Sunday, May 16, 2010 - 4:26 am

> Okay, so something that checks text files to see if they're utf...

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH v3 0/5] End-of-line normalization, redesigned, Eyvind Bernhardsen, (Wed May 12, 4:00 pm)
[PATCH v3 1/5] autocrlf: Make it work also for un-normaliz ..., Eyvind Bernhardsen, (Wed May 12, 4:00 pm)
[PATCH v3 2/5] Add tests for per-repository eol normalization, Eyvind Bernhardsen, (Wed May 12, 4:00 pm)
[PATCH v3 3/5] Add per-repository eol normalization, Eyvind Bernhardsen, (Wed May 12, 4:00 pm)
utf8 BOM, Dmitry Potapov, (Fri May 14, 3:16 am)
Re: utf8 BOM, Eyvind Bernhardsen, (Sat May 15, 1:23 pm)
Re: utf8 BOM, Dmitry Potapov, (Sat May 15, 10:19 pm)
Re: utf8 BOM, Eyvind Bernhardsen, (Sun May 16, 3:37 am)
Re: utf8 BOM, Tait, (Sun May 16, 4:26 am)
Re: utf8 BOM, Dmitry Potapov, (Sun May 16, 6:32 am)