[PATCH 1/4] treewide: convert ISO_8859-1 text comments to utf-8

From
Andrew Morton <akpm@linux-foundation.org>
Date
2018-07-25 00:55:39
Also in
linux-crypto, linux-devicetree, linux-iio, linux-pm, linux-wireless, linuxppc-dev, lkml, lvs-devel, netdev, netfilter-devel
Reply to
Joe Perches, 2018-07-25
On Tue, 24 Jul 2018 17:13:20 -0700 Joe Perches [off-list ref] wrote:
On Tue, 2018-07-24 at 14:00 -0700, Andrew Morton wrote:
quoted
On Tue, 24 Jul 2018 13:13:25 +0200 Arnd Bergmann [off-list ref] wrote:
quoted
Almost all files in the kernel are either plain text or UTF-8
encoded. A couple however are ISO_8859-1, usually just a few
characters in a C comments, for historic reasons.
This converts them all to UTF-8 for consistency.
[]
quoted
Will we be getting a checkpatch rule to keep things this way?
How would that be done?
I'm using this, seems to work.

        if ! file $p | grep -q -P ", ASCII text|, UTF-8 Unicode text"
        then
                echo $p: weird charset
        fi
Thread (11 messages) 11 messages, 8 authors, last reply 2018-07-31
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help