X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.docbook;h=0bfaf9c807ae783d0ce9b5ddc994a7c60aeb703a;hb=51b00f3c1674ff5995e11d9da108ce3da96e1bb2;hp=70b7a08602989dbb66533c6b3b8b37ad1d9252a3;hpb=f6a920be851f68c558e8f413ca63ffeddf850aea;p=mimedecode.git diff --git a/mimedecode.docbook b/mimedecode.docbook index 70b7a08..0bfaf9c 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -41,6 +41,9 @@ + + + @@ -108,9 +111,9 @@ multipart/mixed, e.g) every part is recursively decoded. If it is not multipart, mailcap database is consulted to find a way to convert the body to plain text. (I have no idea how mailcap could be configured on said M$ Ophice GUI, please don't ask me; real OS users can consult my example at -http://phdru.name/Software/dotfiles/mailcap.html). The decoding process uses -first copiousoutput filter it can find. If there is no any filter the body just -passed unconverted. +http://phdru.name/Software/dotfiles/mailcap.html). +The decoding process uses first copiousoutput filter it can find. If there is +no any filter the body just passed unconverted. @@ -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. @@ -331,7 +347,9 @@ the program will recode the message to the wrong charset. AUTHOR - Oleg Broytman <phd@phdru.name> + Oleg + Broytman + phd@phdru.name @@ -339,7 +357,7 @@ the program will recode the message to the wrong charset. COPYRIGHT - Copyright (C) 2001-2014 PhiloSoft Design + Copyright (C) 2001-2014 PhiloSoft Design. @@ -366,7 +384,8 @@ the program will recode the message to the wrong charset. SEE ALSO - mimedecode.py home page: http://phdru.name/Software/Python/#mimedecode + mimedecode.py home page: + http://phdru.name/Software/Python/#mimedecode