From 1cb534fcd6867c00fcd0b7e2a3f9537a825f820e Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Tue, 11 Jun 2024 09:49:35 +0000 Subject: Add some METHOD headers --- doc/encoding.n | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: -- cgit v0.12