Please read the Wikipedia article about Email
. Emails can be sent only with 7-bit ASCII characters although many programs involved in transfer of an email support now also 8-bit clean. There is originally no support for letters other than A-Za-Z or other characters with a code point value greater 127 decimal in the Unicode table or binary data as in attached files in the body of an email.
It is of course possible nowadays sending text with an email containing non-ASCII characters as well as attached files with binary data. This is done by email programs by encoding the data either with using various encodings as it can be seen on viewing a mail box file with a text editor like UltraEdit. It is highly recommended to make use of the UltraEdit file open option Encoding
with selection of ASCII (ansi code page auto detection)
for avoiding a false positive opening of the file with a different text encoding just because of a string in the mail box file indicates, for example, a UTF-8 encoding (of an embedded HTML file).
A mail box file with multiple emails inside contains usually several times Content-Transfer-Encoding:
which is used by email programs to inform another email program how the following part of an email is encoded containing characters or bytes which are not 7-bit ASCII characters (or 8-bit clean).
There can be used encodings like:
Mail box files are only for email programs. The mbox storage file format is not designed for viewing or even editing such files in text editors.
UltraEdit supports encoding text with base64 and decoding base64 encoded text back to text. It is also possible with a trick decoding with UltraEdit a base64 encoded binary file attachment as often stored inside an mail box file back to the binary file contents and save the binary file.
There is built-in no support for encoding text in quoted-printable form and decode quoted-printable data back to pure text. That can be done very easily with an UltraEdit script. But there must be known the original encoding of the text as stored in the header of the email. While it is easy with an UltraEdit script to decode quoted-printable text back to pure text, there must be first known by the script how are encoded the characters of the original text. There must be known by a script if the original text is encoded in "ANSI" (one byte per character) with a code page like Windows-1252 or in UTF-8 or in UTF-16 Little Endian or another multi-byte character encoding.