[BACK]Return to mandoc.1 CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/mandoc.1 between version 1.175 and 1.176

version 1.175, 2017/03/03 14:23:23 version 1.176, 2017/03/04 17:17:34
Line 98  arguments are
Line 98  arguments are
 .Cm iso-8859-1 ,  .Cm iso-8859-1 ,
 and  and
 .Cm utf-8 .  .Cm utf-8 .
 If not specified, autodetection uses the first match:  If not specified, autodetection uses the first match in the following
 .Bl -tag -width iso-8859-1  list:
 .It Cm utf-8  .Bl -enum
 if the first three bytes of the input file  .It
 are the UTF-8 byte order mark (BOM, 0xefbbbf)  If the first three bytes of the input file are the UTF-8 byte order
 .It Ar encoding  mark (BOM, 0xefbbbf), input is interpreted as
 if the first or second line of the input file matches the  .Cm utf-8 .
   .It
   If the first or second line of the input file matches the
 .Sy emacs  .Sy emacs
 mode line format  mode line format
 .Pp  .Pp
 .D1 .\e" -*- Oo ...; Oc coding: Ar encoding ; No -*-  .D1 .\e" -*- Oo ...; Oc coding: Ar encoding ; No -*-
 .It Cm utf-8  .Pp
 if the first non-ASCII byte in the file introduces a valid UTF-8 sequence  then input is interpreted according to
 .It Cm iso-8859-1  .Ar encoding .
 otherwise  .It
   If the first non-ASCII byte in the file introduces a valid UTF-8
   sequence, input is interpreted as
   .Cm utf-8 .
   .It
   Otherwise, input is interpreted as
   .Cm iso-8859-1 .
 .El  .El
 .It Fl k  .It Fl k
 A synonym for  A synonym for

Legend:
Removed from v.1.175  
changed lines
  Added in v.1.176

CVSweb