From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: [PATCH 1/4] treewide: convert ISO_8859-1 text comments to utf-8 Date: Tue, 24 Jul 2018 17:55:31 -0700 Message-ID: <20180724175531.75276cf4e539124aa9e27177@linux-foundation.org> References: <20180724111600.4158975-1-arnd@arndb.de> <20180724140010.e24a9964fd340afe2d98a994@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: netdev-owner@vger.kernel.org To: Joe Perches Cc: Arnd Bergmann , Samuel Ortiz , "David S. Miller" , Rob Herring , Michael Ellerman , Jonathan Cameron , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-iio@vger.kernel.org, linux-pm@vger.kernel.org, lvs-devel@vger.kernel.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org List-Id: devicetree@vger.kernel.org On Tue, 24 Jul 2018 17:13:20 -0700 Joe Perches wrote: > On Tue, 2018-07-24 at 14:00 -0700, Andrew Morton wrote: > > On Tue, 24 Jul 2018 13:13:25 +0200 Arnd Bergmann wrote: > > > 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. > [] > > 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