X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.docbook;h=0bfaf9c807ae783d0ce9b5ddc994a7c60aeb703a;hb=554b3f06f7f69d0f570ebac18b1d9161ac7ddf5f;hp=ee424823680ed7e323d14b519a4de12c3d18d5ac;hpb=85518e9e14a61e141994ece235f8d449bbc33912;p=mimedecode.git diff --git a/mimedecode.docbook b/mimedecode.docbook index ee42482..0bfaf9c 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -41,6 +41,9 @@ + + + @@ -163,12 +166,23 @@ flushed to stdout. + + -H hostname + --host=hostname + + + Use this hostname in X-MIME-Autoconverted headers instead of the + current hostname. + + + + -f charset Force this charset to be the current default charset instead of - sys.getdefaultencoding(). + the current locale. @@ -228,7 +242,7 @@ flushed to stdout. Append mask to the list of error content types; if the message to - decode has a part of this type the program will raise ValueError. + decode has a part of this type the program fails with ValueError. @@ -304,12 +318,14 @@ the program always uses the default decoding. ENVIRONMENT + + LANG + LC_ALL + LC_CTYPE + - LANG - LC_ALL - LC_CTYPE - Define current locale settings. Used to determine current default - charset (if your Python is properly installed and configured). + Define current locale settings. Used to determine current default charset (if + your Python is properly installed and configured). @@ -323,7 +339,7 @@ correct MIME output. The incorrect parts are obvious - decoded Subject headers and filenames. Other than that output is correct MIME message. The program does not try to guess whether the headers are correct. For example, if a message header states that charset is iso8859-5, but the body is actually in koi8-r - -the program will recode the message to the wrong charset. +the program will recode the message with the wrong charset.