armscii-8.7, cp1251.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, iso_8859-15.7, iso_8859-16.7, iso_8859-2.7, iso_8859-3.7, iso_8859-4.7, iso_8859-5.7, iso_8859-6.7, iso_8859-7.7, iso_8859-8.7, iso_8859-9.7, koi8-r.7, koi8-u.7: Add explicit character set encoding to first line of source

Nowadays mandb has provision to understand a character set
encoding that is explicitly indicated in the first line
of the source.  As pointed out by Colin Watson, including
such an explicit indication on pages encoded in anything
other than ISO 8859-1 or UTF-8 is useful for man-pages
that aren't shipped in UTF-8.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519209
and for some other background (responded to by Colin Watson
in the above report):
http://thread.gmane.org/gmane.comp.internationalization.linux/6040
("man page encoding", 5 Jul 2005)

Reported-by: Colin Watson <cjwatson@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-03-12 06:58:44 +13:00
parent fc3c831d6b
commit 9e4922f014
18 changed files with 18 additions and 18 deletions

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ARMSCII-8 -*-
.\" Copyright 2009 Lefteris Dimitroulakis <edimitro at tee.gr>
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: CP1251 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-10 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-11 -*-
.\" Copyright 2009 Lefteris Dimitroulakis <edimitro at tee.gr>
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-7 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-14 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-15 -*-
.\" Copyright 1993-1995 Daniel Quinlan (quinlan@yggdrasil.com)
.\" Copyright 1999 Dimitri Papadopoulos (dpo@club-internet.fr)
.\"

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-16 -*-
.\" Copyright 2002 Ionel Mugurel Ciobîcã (IMCiobica@netscape.net)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-2 -*-
.\" Copyright 1999 Roman Maurer (roman.maurer@hermes.si)
.\" Copyright 1993-1995 Daniel Quinlan (quinlan@yggdrasil.com)
.\"

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-3 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-4 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-5 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-6 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-7 -*-
.\" Copyright 1999 Dimitri Papadopoulos (dpo@club-internet.fr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-8 -*-
.\" Copyright 2009 Lefteris Dimitroulakis (edimitro@tee.gr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: ISO-8859-9 -*-
.\" Copyright 2002 Dimitri Papadopoulos (dpo@club-internet.fr)
.\"
.\" This is free documentation; you can redistribute it and/or

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: KOI8-R -*-
.\" Copyright 2001 Alexey Mahotkin <alexm@hsys.msk.ru>
.\"
.\" Lots of text ripped from http://koi8.pp.ru/

View File

@ -1,4 +1,4 @@
'\" t
'\" t -*- coding: KOI8-U -*-
.\" Copyright 2009 Lefteris Dimitroulakis <edimitro at tee.gr>
.\"
.\" This is free documentation; you can redistribute it and/or