version 1.3, 2011/05/26 14:43:07 |
version 1.7, 2013/07/13 19:41:16 |
Line 38 or other troff system supporting the |
|
Line 38 or other troff system supporting the |
|
escape sequence |
escape sequence |
.Pc |
.Pc |
input. |
input. |
|
.Pp |
|
By default, it parses from standard output, determining encoding as |
|
described in |
|
.Sx Algorithm . |
|
.Pp |
Its arguments are as follows: |
Its arguments are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl D Ar enc |
.It Fl D Ar enc |
Line 48 The document's encoding. |
|
Line 53 The document's encoding. |
|
The input file. |
The input file. |
.El |
.El |
.Pp |
.Pp |
If |
|
.Ar file |
|
is not provided, |
|
.Nm |
|
accepts standard input. |
|
See |
|
.Sx Algorithm |
|
for encoding choice. |
|
.Pp |
|
The recoded input is written to standard output: Unicode characters in |
The recoded input is written to standard output: Unicode characters in |
the ASCII range are printed as regular ASCII characters, while those |
the ASCII range are printed as regular ASCII characters, while those |
above this range are printed using the |
above this range are printed using the |
Line 86 A file variable is an input line of the form |
|
Line 82 A file variable is an input line of the form |
|
.Pp |
.Pp |
.Dl \%.\e\(dq -*- key: val [; key: val ]* -*- |
.Dl \%.\e\(dq -*- key: val [; key: val ]* -*- |
.Pp |
.Pp |
where |
A coding tag variable is where |
.Cm key |
.Cm key |
is |
is |
.Qq coding |
.Qq coding |
and |
and |
.Cm val |
.Cm val |
is the name of the encoding. |
is the name of the encoding. |
A typical usage may be |
A typical file variable with a coding tag is |
.Pp |
.Pp |
.Dl \%.\e\(dq -*- mode: troff; coding: utf-8 -*- |
.Dl \%.\e\(dq -*- mode: troff; coding: utf-8 -*- |
.It |
.It |
Line 154 utility appeared in May 2011. |
|
Line 150 utility appeared in May 2011. |
|
The |
The |
.Nm |
.Nm |
utility was written by |
utility was written by |
.An Kristaps Dzonsons Aq kristaps@bsd.lv . |
.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv . |
.\" .Sh CAVEATS |
.\" .Sh CAVEATS |
.\" .Sh BUGS |
.\" .Sh BUGS |
.\" .Sh SECURITY CONSIDERATIONS |
.\" .Sh SECURITY CONSIDERATIONS |