---
name: "mewencode"
section: "1"
platform: "linux"
package: "mew-beta-bin"
version: "7.0.50~6.8+0.20221129-4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mewencode"
---

# mewencode(1)

MIME encoder/decoder

## NAME

**mewencode**, **mewdecode**, **mewcat** - MIME encoder/decoder

## SYNOPSIS

**mewencode** \[**-options**\] \[*infile* \[*outfile*\]\]

**mewdecode** \[**-options**\] \[*infile* \[*outfile*\]\]

**mewcat** \[**-options**\] \[*infile*\]

## DESCRIPTION

The **mewencode** utility encode/decode MIME objects.

The options are as follows:

- **-e**

  Encoding.

- **-d**

  Decoding.

- **-8**

  See if any 8bit characters are contained.

- **-b**

  MIME base64 en/decoding.

- **-q**

  MIME quoted-printable en/decoding.

- **-g**

  MIME gzip64 en/decoding(not yet specified in RFC).

- **-z**

  The same as -g.

- **-u**

  Uudecoding.

- **-l** *length*

  Line *length* into which base64/quoted-printable/gzip64 encoding truncate.

- **-t**

  On base64/gzip64 encoding, local newline is treated as CRLF. On base/gzip64 decoding, any newline is translated into local newline. Specify this option only when the input is a line based object(e.g. Content-Type: is text/plain or application/postscript).

- **-h**

  Display this help message.

- **-v**

  Display the version.
