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

Bug#780180: lintian: Should check if debian/{changelog,copyright,control} are encoded as UTF-8 if Standards-Version >= 3.9.4/3.8.1



Control: tags -1 moreinfo

On 2015-03-10 08:48, Axel Beckert wrote:
> Package: lintian
> Version: 2.5.30+deb8u3
> Severity: wishlist
> 
> Hi,
> 
> lintian should check
> 
> * if debian/{changelog,control} are encoded as UTF-8 if
>   Standards-Version is >= 3.8.1, and
> 
> * if debian/copyright is encoded as UTF-8 if Standards-Version is >=
>   3.9.4.
> 
> I haven't checked if it already does that, but on
> https://lintian.debian.org/tags-all.html there is only one tag listed
> which contains "utf" in its name, so I assume that no such check yet
> exists.
> 
> (I'm also willing to write that test. The idea for that test just came
> during breakfast when reading pabs' Misc Developer News about
> check-all-the-things and I needed to dump it somewhere quickly. The BTS
> seems the best place for that. :-)
> 
> [...]

They are already implemented (ignoring the S-V version actually).  They
are named:

 * X-uses-obsolete-national-encoding.

Note, that the copyright check might only check the installed copyright
(i.e. the one in the binary package), but I believe it should be
"sufficient(tm)".

Thanks,
~Niels


Reply to: