---
name: "mimedecode"
section: "1"
platform: "linux"
package: "mimedecode"
version: "1.9-4"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/mimedecode"
---

# mimedecode(1)

## NAME

**mimedecode**

## SYNOPSIS

**mimedecode** \[**-h**\|**-d *\<debug level\>***\] \< *encoded\_msg* \> *decoded\_msg*

## DESCRIPTION

This manual page documents briefly the **mimedecode** command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.

**mimedecode** performs the decoding of transfer encoded text type mime messages. The message in its entirety is read from stdin. The decoded message is written to stdout; hence, this program behaves as a filter which may be placed wherever convenient.

It is assumed that the message has reached its point of final delivery and at that point 8-bit text types can be handled natively. Hence, the need for transfer-encodings is not present any more.

Only some cases are handled:

- Encoded header fields are decoded from QP or B encoding.

  - The charset is assumed to be iso-8859-1

  - Part or subparts of content-type text only are decoded

  - All other content-types are passed transparently

  ## OPTIONS

This program accepts the follwing options:

- **-h**

  Switch on header logging

- **-d *\<debug level\>***

  Enable debugging output at level: *\<debug level\>*.

## AUTHOR

This manual page was written by Joel Klecker \<jk@espy.org\>. for the Debian GNU/Linux system (but may be used by others).
