checkpatch: check utf-8 content from a commit log when it's missing from charset
authorPasi Savanainen <pasi.savanainen@nixu.com>
Fri, 5 Oct 2012 00:13:29 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:04:59 +0000 (03:04 +0900)
commitfa64205df9dfd7b7662cc64a7e82115c00e428e5
tree4df37058666c34ed88a3d7c0ffae2330b8b7eddf
parent8290e2d2dcbf0d379d4b1379e17916515ee20a39
checkpatch: check utf-8 content from a commit log when it's missing from charset

Check that a commit log doesn't contain UTF-8 when a mail header
explicitly defines a different charset, like

'Content-Type: text/plain; charset="us-ascii"'

Signed-off-by: Pasi Savanainen <pasi.savanainen@nixu.com>
Cc: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl