diff options
| author | Mike Frysinger <vapier@chromium.org> | 2020-07-26 02:23:40 -0400 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2020-08-13 09:36:46 +0200 |
| commit | b4c38a723f03c08210edce57f5eb1900b2106da9 (patch) | |
| tree | 754b73aceffed7ef3cde3ba581f3c123a89eb551 | |
| parent | 1d2e2ecda745ea2bbf0a341f3c1112e00d8e32dc (diff) | |
| download | man-pages-b4c38a723f03c08210edce57f5eb1900b2106da9.tar.gz | |
drop "coding: UTF-8" header
This header is used inconsistently -- man pages are UTF-8 encoded
but not setting this marker. It's only respected by the man-db
package, and seems a bit anachronistic at this point when UTF-8
is the standard default nowadays.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
| -rw-r--r-- | man1/iconv.1 | 2 | ||||
| -rw-r--r-- | man3/mbstowcs.3 | 1 | ||||
| -rw-r--r-- | man3/newlocale.3 | 1 | ||||
| -rw-r--r-- | man5/locale.5 | 1 | ||||
| -rw-r--r-- | man7/armscii-8.7 | 1 | ||||
| -rw-r--r-- | man7/charsets.7 | 1 | ||||
| -rw-r--r-- | man7/cp1251.7 | 1 | ||||
| -rw-r--r-- | man7/cp1252.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-1.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-10.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-11.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-13.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-14.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-15.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-16.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-2.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-3.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-4.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-5.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-6.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-7.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-8.7 | 1 | ||||
| -rw-r--r-- | man7/iso_8859-9.7 | 1 | ||||
| -rw-r--r-- | man7/koi8-r.7 | 1 | ||||
| -rw-r--r-- | man7/koi8-u.7 | 1 | ||||
| -rw-r--r-- | man8/iconvconfig.8 | 2 | ||||
| -rwxr-xr-x | scripts/convert_to_utf_8.sh | 2 |
27 files changed, 1 insertions, 29 deletions
diff --git a/man1/iconv.1 b/man1/iconv.1 index 3649e6dbe1..8207e1cea3 100644 --- a/man1/iconv.1 +++ b/man1/iconv.1 @@ -1,5 +1,3 @@ -'\" t -*- coding: UTF-8 -*- -.\" .\" Copyright (C) 2014 Marko Myllynen <myllynen@redhat.com> .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man3/mbstowcs.3 b/man3/mbstowcs.3 index f92ab681c5..cf650506eb 100644 --- a/man3/mbstowcs.3 +++ b/man3/mbstowcs.3 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> .\" and Copyright 2014 Michael Kerrisk <mtk.manpages@gmail.com> .\" diff --git a/man3/newlocale.3 b/man3/newlocale.3 index 2d71f1a8cf..86b961fc62 100644 --- a/man3/newlocale.3 +++ b/man3/newlocale.3 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright (C) 2014 Michael Kerrisk <mtk.manpages@gmail.com> .\" .\" %%%LICENSE_START(VERBATIM) diff --git a/man5/locale.5 b/man5/locale.5 index 85e548bc17..f6b63da9d9 100644 --- a/man5/locale.5 +++ b/man5/locale.5 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de) .\" Copyright (C) 2008 Petr Baudis (pasky@suse.cz) .\" Copyright (C) 2014 Michael Kerrisk <mtk@manpages@gmail.com> diff --git a/man7/armscii-8.7 b/man7/armscii-8.7 index 94c51e3680..163c81d5b2 100644 --- a/man7/armscii-8.7 +++ b/man7/armscii-8.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis <edimitro at tee.gr> .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/charsets.7 b/man7/charsets.7 index ceb5154efd..734ebfb1b1 100644 --- a/man7/charsets.7 +++ b/man7/charsets.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright (c) 1996 Eric S. Raymond <esr@thyrsus.com> .\" and Copyright (c) Andries Brouwer <aeb@cwi.nl> .\" diff --git a/man7/cp1251.7 b/man7/cp1251.7 index 382de42c85..fdc1af8473 100644 --- a/man7/cp1251.7 +++ b/man7/cp1251.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/cp1252.7 b/man7/cp1252.7 index 07ac84bf5d..759a4061d0 100644 --- a/man7/cp1252.7 +++ b/man7/cp1252.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2014 (C) Marko Myllynen <myllynen@redhat.com> .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-1.7 b/man7/iso_8859-1.7 index 202768231f..8c57bcfbc3 100644 --- a/man7/iso_8859-1.7 +++ b/man7/iso_8859-1.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 1993-1995 Daniel Quinlan (quinlan@yggdrasil.com) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-10.7 b/man7/iso_8859-10.7 index 82c8eeda5f..02f89221cd 100644 --- a/man7/iso_8859-10.7 +++ b/man7/iso_8859-10.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-11.7 b/man7/iso_8859-11.7 index 073ddc6577..afc931b00e 100644 --- a/man7/iso_8859-11.7 +++ b/man7/iso_8859-11.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis <edimitro at tee.gr> .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-13.7 b/man7/iso_8859-13.7 index 06de48839a..6a5304b11a 100644 --- a/man7/iso_8859-13.7 +++ b/man7/iso_8859-13.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-14.7 b/man7/iso_8859-14.7 index 592bd0838e..cb39a9e915 100644 --- a/man7/iso_8859-14.7 +++ b/man7/iso_8859-14.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-15.7 b/man7/iso_8859-15.7 index 5e71a41aae..9946b0bc26 100644 --- a/man7/iso_8859-15.7 +++ b/man7/iso_8859-15.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 1993-1995 Daniel Quinlan (quinlan@yggdrasil.com) .\" Copyright 1999 Dimitri Papadopoulos (dpo@club-internet.fr) .\" diff --git a/man7/iso_8859-16.7 b/man7/iso_8859-16.7 index 8d9b5a2595..5bf518279b 100644 --- a/man7/iso_8859-16.7 +++ b/man7/iso_8859-16.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2002 Ionel Mugurel Ciobîcă (IMCiobica@netscape.net) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-2.7 b/man7/iso_8859-2.7 index 095f0612d0..a9e478b58d 100644 --- a/man7/iso_8859-2.7 +++ b/man7/iso_8859-2.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 1999 Roman Maurer (roman.maurer@hermes.si) .\" Copyright 1993-1995 Daniel Quinlan (quinlan@yggdrasil.com) .\" diff --git a/man7/iso_8859-3.7 b/man7/iso_8859-3.7 index 5f2605852f..b9e00fd10e 100644 --- a/man7/iso_8859-3.7 +++ b/man7/iso_8859-3.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-4.7 b/man7/iso_8859-4.7 index 6eefaef939..4ef5c0e05a 100644 --- a/man7/iso_8859-4.7 +++ b/man7/iso_8859-4.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-5.7 b/man7/iso_8859-5.7 index 7e3c8cec10..1396b36de9 100644 --- a/man7/iso_8859-5.7 +++ b/man7/iso_8859-5.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-6.7 b/man7/iso_8859-6.7 index 5e1608a2e3..d2c5aea085 100644 --- a/man7/iso_8859-6.7 +++ b/man7/iso_8859-6.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-7.7 b/man7/iso_8859-7.7 index f595708880..97bb728d80 100644 --- a/man7/iso_8859-7.7 +++ b/man7/iso_8859-7.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 1999 Dimitri Papadopoulos (dpo@club-internet.fr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-8.7 b/man7/iso_8859-8.7 index b7e1c5f7b5..bdfaa571ca 100644 --- a/man7/iso_8859-8.7 +++ b/man7/iso_8859-8.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/iso_8859-9.7 b/man7/iso_8859-9.7 index b97efc29cf..705971e454 100644 --- a/man7/iso_8859-9.7 +++ b/man7/iso_8859-9.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2002 Dimitri Papadopoulos (dpo@club-internet.fr) .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/koi8-r.7 b/man7/koi8-r.7 index 7ee9e2927d..7d1977eb38 100644 --- a/man7/koi8-r.7 +++ b/man7/koi8-r.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2001 Alexey Mahotkin <alexm@hsys.msk.ru> .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man7/koi8-u.7 b/man7/koi8-u.7 index 0c56e949f3..987918724d 100644 --- a/man7/koi8-u.7 +++ b/man7/koi8-u.7 @@ -1,4 +1,3 @@ -'\" t -*- coding: UTF-8 -*- .\" Copyright 2009 Lefteris Dimitroulakis <edimitro at tee.gr> .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/man8/iconvconfig.8 b/man8/iconvconfig.8 index 2cc3536f4c..b572829659 100644 --- a/man8/iconvconfig.8 +++ b/man8/iconvconfig.8 @@ -1,5 +1,3 @@ -'\" t -*- coding: UTF-8 -*- -.\" .\" Copyright (C) 2014 Marko Myllynen <myllynen@redhat.com> .\" .\" %%%LICENSE_START(GPLv2+_DOC_FULL) diff --git a/scripts/convert_to_utf_8.sh b/scripts/convert_to_utf_8.sh index b8a5e83bae..28f5a72cf8 100755 --- a/scripts/convert_to_utf_8.sh +++ b/scripts/convert_to_utf_8.sh @@ -33,7 +33,7 @@ fi out_dir="$1" shift -enc_line="'\\\" t -*- coding: UTF-8 -*-" +enc_line="" for f in "$@"; do enc=$(file -bi "$f" | cut -d = -f 2) |
