|
Boost : |
Subject: Re: [boost] Change to guidelines for characters in C++ source files
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2015-06-26 07:31:53
On 26 Jun 2015 at 13:25, Sebastian Redl wrote:
> >> Thus, we need a BOM in our source files if they contain UTF-8. That's
> >> just a sad fact.
> > This suggests, I suppose, that the Boost lint script will need to
> > error out on any source files without a BOM right?
> >
> Only if they contain characters outside the basic source set, I suppose.
It'll have to be at the per-git repo level, so either all the source
in a git repo is UTF-8 BOMed or it isn't.
This is because .gitattributes selects UTF-8 encoding based on file
extension, and that applies for an entire git repo.
Niall
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk