[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#865713: Please Start UTF-8 debian-policy Text Files with UTF-8 Signature



On Sat, 24 Jun 2017, Russ Allbery wrote:
> Russ Allbery <rra@debian.org> writes:
> > I did a bit more research, and apparently this approach has become more
> > blessed again.  I'm glad I looked it up!  As of Unicode 5.0, the

...

> Okay, I experimented with this, but unfortunately less displays the BOM at
> the start of the file as a very ugly reverse-video <U+FEFF> at the top of
> the screen.

An alternative would be to just use .8txt, .u8txt or some other
extension for UTF-8 text files that is not ".txt".

This also addresses the mix of UTF-8 and unknown charset .txt files in
our web trees, the difficulty of configuring charsets out-of-band across
a mirror network, etc.

An imperfect world asks for imperfect solutions :-(  All of them will
have drawbacks.

-- 
  Henrique Holschuh


Reply to: