summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-11 09:49:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-06-11 09:49:35 (GMT)
commit1cb534fcd6867c00fcd0b7e2a3f9537a825f820e (patch)
tree20db43c6edae5b4d38e3c0bf5ef8ddf6112fac95
parente6843a795b4572ae7dbe75d60b04cea43dae9c48 (diff)
downloadtcl-1cb534fcd6867c00fcd0b7e2a3f9537a825f820e.zip
tcl-1cb534fcd6867c00fcd0b7e2a3f9537a825f820e.tar.gz
tcl-1cb534fcd6867c00fcd0b7e2a3f9537a825f820e.tar.bz2
Add some METHOD headers
-rw-r--r--doc/encoding.n7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/encoding.n b/doc/encoding.n
index e78a8e7..8a0b163 100644
--- a/doc/encoding.n
+++ b/doc/encoding.n
@@ -33,6 +33,7 @@ formats.
.PP
Performs one of several encoding related operations, depending on
\fIoption\fR. The legal \fIoption\fRs are:
+.\" METHOD: convertfrom
.TP
\fBencoding convertfrom\fR ?\fIencoding\fR? \fIdata\fR
.
@@ -42,6 +43,7 @@ characters in \fIdata\fR are treated as binary data where the lower
sequence of bytes is treated as a string in the specified
\fIencoding\fR. If \fIencoding\fR is not specified, the current
system encoding is used.
+.\" METHOD: convertto
.TP
\fBencoding convertto\fR ?\fIencoding\fR? \fIstring\fR
.
@@ -51,6 +53,7 @@ string. Each byte is stored in the lower 8-bits of a Unicode
character (indeed, the resulting string is a binary string as far as
Tcl is concerned, at least initially). If \fIencoding\fR is not
specified, the current system encoding is used.
+.\" METHOD: dirs
.TP
\fBencoding dirs\fR ?\fIdirectoryList\fR?
.
@@ -63,6 +66,7 @@ search path. It is an error for \fIdirectoryList\fR to not be a valid
list. If, when a search for an encoding data file is happening, an
element in \fIdirectoryList\fR does not refer to a readable,
searchable directory, that element is ignored.
+.\" METHOD: names
.TP
\fBencoding names\fR
.
@@ -73,6 +77,7 @@ The encodings
and
.QW iso8859-1
are guaranteed to be present in the list.
+.\" METHOD: system
.TP
\fBencoding system\fR ?\fIencoding\fR?
.
@@ -91,7 +96,7 @@ The result is the unicode codepoint:
.QW "\eu306F" ,
which is the Hiragana letter HA.
.SH "SEE ALSO"
-Tcl_GetEncoding(3)
+Tcl_GetEncoding(3), fconfigure(n)
.SH KEYWORDS
encoding, unicode
.\" Local Variables: