summaryrefslogtreecommitdiff
path: root/mh
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2003-09-21 15:57:02 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2003-09-21 15:57:02 +0000
commit3299ba4d0a6b69680931d01da9b033a562099a55 (patch)
tree6b05252e6158a6b369d7649853a4aa7f03714c21 /mh
parent4e07d766a7e39a783a54fffa7903282afb19d2a3 (diff)
downloadmailutils-3299ba4d0a6b69680931d01da9b033a562099a55.tar.gz
mailutils-3299ba4d0a6b69680931d01da9b033a562099a55.tar.bz2
Updated
Diffstat (limited to 'mh')
-rw-r--r--mh/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/mh/README b/mh/README
index ea4d09077..2c4cb3fbb 100644
--- a/mh/README
+++ b/mh/README
@@ -23,6 +23,21 @@ options is provided for backward compatibility.
** New functions
+*** decode
+Argument: string
+Return: string
+
+Decodes the input string as per RFC 2047. Useful in printing From:,
+To: and Subject: headers.
+
+Notice that, unlike the similar NMH function, decode checks the value
+of the global profile variable "Charset" to determine the charset
+to output the result in. If this variable is not set, decode returns
+its argument without any change. If this variable is set to "auto",
+decode tries to determine the charset name from the setting of
+LC_ALL environment variable. Otherwise, the value of "Charset" is
+taken to be the name of the character set.
+
*** package
Argument: none
Return: string
@@ -134,6 +149,16 @@ Generates the value for the References: header according to RFC 2822.
* New profile variables:
+** Charset
+
+Controls the character set in which the components decoded via
+the `decode' format function should be output (see `decode' above).
+By default this variable is not set, which means that no decoding
+takes place. If it is set to "auto", `decode' tries to determine
+the charset name from the setting of LC_ALL environment variable.
+Otherwise, the value of "Charset" is taken to be the name of the
+character set.
+
** Reply-Regex
Sets the regular expression used to recognize reply messages. The

Return to:

Send suggestions and report system problems to the System administrator.