rpmlint file-not-utf8

Ville Skyttä ville.skytta at iki.fi
Thu Sep 13 18:01:44 UTC 2007


On Thursday 13 September 2007, José Matos wrote:
> On Thursday 13 September 2007 18:31:06 Nicolas Mailhot wrote:
> > I you were feeling evil, you'd have rpmlint rum tidy on (x)html files so
> > problems are reported upstream.

Heh, actually doing a "tidy &>/dev/null" and whining if the exit status is not 
0 could be nice :)

>   Not only that but I remember to see html pages composed with latin1 and
> without the charset in metadata. So the warning has its uses. :-)

Well, maybe, but an UTF-8 encoded HTML doc which lacks a declaration in which 
encoding it is will currently pass through rpmlint without warnings, and 
that's at least as bad as a ISO-8859-1 encoded HTML doc without it as far as 
HTML specs are concerned...




More information about the fedora-devel-list mailing list