X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.docbook;h=5be05a8beb63f135a3a32d77203ba255463783d6;hb=b396c6d276faa8130351c32edfdcf9e2d6796392;hp=ee424823680ed7e323d14b519a4de12c3d18d5ac;hpb=85518e9e14a61e141994ece235f8d449bbc33912;p=mimedecode.git diff --git a/mimedecode.docbook b/mimedecode.docbook index ee42482..5be05a8 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -168,7 +168,7 @@ flushed to stdout. Force this charset to be the current default charset instead of - sys.getdefaultencoding(). + the current locale. @@ -228,7 +228,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 +304,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 +325,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.