to parsingand to save and load full message text to save files users may set this variable to unicode encoding name string which works for their mailsencodings"latin- ""utf- "and "asciiare reasonable guesses for most emailsas email standards originally called for ascii (though "latin- was required to decode some old mail save files generated by the prior versionif decoding with this encoding name failsother common encodings are attemptedand as last resort the message is still displayed if its headers can be decodedbut its body is changed to an error messageto view such unlikely mailstry running pymailgui again with different encoding in the negatives columnnothing is done about the unicode format for the full text of sent mailsapart from that inherited from python' libraries (as we learned in smtplib attempts to encode per ascii when messages are sentwhich is one reason that header encoding is requiredand while mail content character sets are fully supportedthe gui itself still uses english for its labels and buttons as explained in this program' unicode polices are broad but partial solutionbecause the email package in python upon which pymailgui utterly relies for correct operationis in state of flux for some use cases an updated version which handles the python str/bytes distinctions more accurately and completely is likely to appear in the futurewatch this book' updates page (see the prefacefor future changes and improvements to this program' unicode policies hopefullythe current email package underlying pymailgui will be available for some time to come although there is still room for improvement (see the list at the end of this the pymailgui program is able to provide full-featured email interfacerepresents the most substantial example in this bookand serves to demonstrate realistic application of the python language and software engineering at large as its users often attestpython may be fun to work withbut it' also useful for writing practical and nontrivial software this examplemore than any other in this booktestifies the same the next section shows how pymailgui demo pymailgui is multiwindow interface it consists of the followinga main mail-server list window opened initiallyfor online mail processing one or more mail save-file list windows for offline mail processing one or more mail-view windows for viewing and editing messages pyedit windows for displaying raw mail textextracted text partsand the system' source code nonblocking busy state pop-up dialogs assorted pop-up dialogs for opened message partshelpand more pymailgui demo