RFC 6532: Internationalized Email Headers

Defines UTF-8 encoded headers for internationalized email messages.
Alaa
By Alaa
SMTPedia documents email infrastructure end to end: SMTP standards from the RFC archive, delivera...
7 min read Updated Jul 22, 2026 97 views
RFC 6532
Internationalized Email Headers
Current standard
Domain
Internationalization
Published
February 2012
Obsoletes
RFC 5335
SMTP relevance
Medium
↗ Read on rfc-editor.org

What this RFC defines

RFC 6532 defines how UTF-8 can be used natively in email message headers for internationalized email. Before RFC 6532, non-ASCII characters in headers required RFC 2047 encoded-word syntax. RFC 6532 allows UTF-8 characters to appear directly in header values when the message is transmitted via a SMTPUTF8-capable SMTP path.

Where you see it in practice

In a fully internationalized email system, a From: header could contain the sender’s name in their native script without any encoded-word escaping, such as From: Yamada Taro <yamada@example.jp> with the name in Japanese characters directly. RFC 6532 makes this possible for EAI-capable mail paths. For systems that do not support EAI, RFC 2047 encoded-words remain the only option for non-ASCII in headers.

How it connects to other RFCs

RFC 6532 obsoletes RFC 5335 and is part of the EAI suite alongside RFC 6530 (framework) and RFC 6531 (SMTPUTF8). It extends RFC 5322 (message format) to allow UTF-8 in headers. Delivering messages with UTF-8 headers to non-EAI-aware systems requires downgrading per RFC 6533.

Current status

RFC 6532 is a current standard, published February 2012. It is the header complement to RFC 6531’s envelope changes for internationalized email. Full support requires end-to-end SMTPUTF8 capability across the delivery path, which limits its deployment to EAI-aware environments.

UTF-8 in message headers

RFC 6532 extends RFC 5322 (the message format standard) to allow UTF-8 directly in header field values. Before RFC 6532, non-ASCII characters in headers required RFC 2047 encoded-word syntax: Subject: =?UTF-8?Q?Caf=C3=A9?=. With RFC 6532, a mail client that knows both endpoints support it can simply write Subject: Café. This is cleaner, more efficient, and easier to debug in raw message traces.

When to use raw UTF-8 versus encoded-words

RFC 6532 does not deprecate encoded-words; both are permitted. The choice depends on knowledge of downstream support. For mail sent within an environment where SMTPUTF8 and RFC 6532 are known to be supported (enterprise Exchange, modern webmail providers), raw UTF-8 is cleaner. For internet-facing mail where any hop might lack support, encoded-words remain safer. Most modern mail libraries generate encoded-words by default and only produce raw UTF-8 when explicitly configured or when the receiving MTA advertises SMTPUTF8.

Interaction with DKIM

RFC 6532 UTF-8 headers interact with DKIM signing carefully. The signature covers the header bytes as transmitted; if any hop rewrites UTF-8 to encoded-word (or vice versa) for compatibility, the DKIM signature will fail. This is why RFC 8616 later clarified how DKIM should handle internationalized headers and why some receivers apply looser DKIM checking to messages with SMTPUTF8 involvement. If your DKIM signatures fail on internationalized mail, header canonicalization in transit is a likely cause.

Quick Reference

RFC 6532 (February 2012) extends RFC 5322 Internet Message Format to allow UTF-8 directly in message headers. Complements RFC 6531 SMTPUTF8: RFC 6531 says the transport can carry UTF-8; RFC 6532 says the headers can contain UTF-8. Together they enable native internationalized email: From: 田中 <user@例え.jp> written directly rather than From: =?UTF-8?B?55Sw5Lit?= <user@xn--r8jz45g.jp>. Only valid when SMTPUTF8 was negotiated for the transaction.

RFC 6532 at a glance

AspectDetail
PurposeAllow UTF-8 characters directly in RFC 5322 header field values
ScopeHeader content only; message structure (CRLF, field-name colons, folding) unchanged
PrerequisiteSMTP session must have negotiated SMTPUTF8
Alternative for non-SMTPUTF8 pathsRFC 2047 encoded-word syntax
EncodingUTF-8 bytes directly in header values (no encoded-word wrapping)
Field namesRemain ASCII (only field values may contain UTF-8)
PublishedFebruary 2012

RFC 6532 UTF-8 vs RFC 2047 encoded-word

AspectRFC 2047 encoded-wordRFC 6532 UTF-8 direct
Format=?UTF-8?B?SGVsbG8=?=Hello (raw UTF-8 bytes)
Requires SMTPUTF8?No (7-bit safe)Yes (must be negotiated)
Human readability in sourceEncoded, hard to readNative, easy to read
Size overhead~33-40% (base64) or higher (quoted-printable)0% (native)
Legacy client compatibilityUniversal (since 1996)Modern clients only (post-2015 broad adoption)
Where usedDisplay names, Subject, commentsAny header value once SMTPUTF8 in effect

Header comparison: encoded vs UTF-8 direct

Same message headers, two representations Legacy RFC 2047 form (7-bit safe): From: =?UTF-8?B?55Sw5Lit?= <user@xn--r8jz45g.jp> To: =?UTF-8?B?5rGf5oi4?= <alice@example.com> Subject: =?UTF-8?B?44OG44K544OI44Oh44OD44K744O844K4?= Date: Wed, 15 Jul 2026 09:15:22 +0900 Message-ID: <abc123@example.jp>RFC 6532 UTF-8 direct (requires SMTPUTF8): From: 田中 <user@例え.jp> To: 江戸 <alice@example.com> Subject: テストメッセージ Date: Wed, 15 Jul 2026 09:15:22 +0900 Message-ID: <abc123@example.jp>Both are valid; the choice depends on: – Whether SMTPUTF8 was negotiated (required for direct form) – Whether all recipients’ clients support UTF-8 rendering – Whether the message will traverse legacy MTAsModern clients render both identically to the user.

Common RFC 6532 handling mistakes

Emitting UTF-8 headers on non-SMTPUTF8 paths. RFC 6532 UTF-8 headers are only valid when SMTPUTF8 was negotiated for the transaction. Emitting them into a plain SMTP session is a protocol violation. Some receivers accept silently; others reject. Fix: check SMTPUTF8 advertisement in EHLO; if absent, encode non-ASCII with RFC 2047 encoded-word.
Breaking DKIM by re-encoding headers. Some MTAs, on receiving a UTF-8 header via SMTPUTF8, convert to RFC 2047 encoded-word for downstream ASCII paths. This modifies the header content, invalidating any DKIM signature covering those headers. Same problem in reverse: converting RFC 2047 to UTF-8 direct. Preserve headers as received; do not re-encode.
Ignoring header line length limits. RFC 5322 requires header lines under 998 characters. UTF-8 encoding of Asian scripts uses 3 bytes per character; a Subject line that fits in 500 ASCII characters may exceed 998 bytes in UTF-8. Fold long headers per RFC 5322 folding rules; each folded line under the limit.
Mixing encoded-word and UTF-8 direct in the same header. Legal but discouraged. Confuses parsers, some of which incorrectly nest decoding. Emit consistently: either encoded-word throughout (legacy safe) or UTF-8 direct throughout (SMTPUTF8 only).
Not normalizing UTF-8 for equality comparison. UTF-8 can represent the same visible text in multiple byte sequences (NFC vs NFD). Comparing raw bytes may report equal texts as different. Normalize to NFC before comparison, or use a Unicode-aware comparison library. Do not normalize for storage or transmission; preserve what the user provided.
Internationalized email stack
  • RFC 6531: SMTPUTF8 (the transport prerequisite)
  • RFC 6533: Internationalized DSN and MDN
  • RFC 5337: Internationalized DSN and Disposition Notifications
  • RFC 5890: IDNA 2008 for domain names
  • RFC 6530: Overview of internationalized email
  • RFC 5322: Message Format (base standard extended)
  • RFC 2047: Encoded-word syntax (legacy alternative)
SMTPedia companion guides

Frequently asked questions

Can I use UTF-8 in my Subject header?

Two paths. If SMTPUTF8 is negotiated (per RFC 6531), you can write UTF-8 directly in Subject per RFC 6532. If SMTPUTF8 is not available, encode with RFC 2047 encoded-word syntax (=?UTF-8?B?base64content?=). Modern mail clients render both identically. For maximum compatibility with older systems, use encoded-word.

Why do some UTF-8 messages fail DKIM verification?

Intermediate MTAs occasionally convert between UTF-8 direct and RFC 2047 encoded-word representations, changing the byte content of signed headers. This invalidates DKIM signatures covering those headers. Solutions: sign fewer headers (exclude Subject and display names from h= tag), use relaxed canonicalization (survives some but not all changes), or accept that internationalized mail has slightly higher DKIM failure rates through certain paths.

What is Unicode normalization and does it matter for RFC 6532?

Unicode allows the same visible text in multiple byte sequences (e.g., é as U+00E9 single code point vs U+0065 U+0301 combining). Normalization forms (NFC, NFD, NFKC, NFKD) standardize the representation. For header content, RFC 6532 recommends NFC when generating fresh headers. For equality comparison, normalize both sides to the same form before comparing. Do not aggressively normalize headers in transit; preserve what the sender wrote.

Can I mix UTF-8 direct and encoded-word in the same header?

Technically legal per RFC 6532, but discouraged. Parsers can get confused by mixed representations, particularly around whitespace between encoded-word segments. Emit consistently: fully UTF-8 direct (when SMTPUTF8 negotiated) or fully encoded-word (for legacy safety). Mixing produces messages that render correctly in modern clients but occasionally break in older ones.

Does RFC 6532 affect body content?

No. RFC 6532 covers header field values. Message bodies have always supported arbitrary content encoded per MIME (RFC 2045) with declared Content-Type and Content-Transfer-Encoding. RFC 6532’s contribution is header-level: it lets headers carry the same UTF-8 content that MIME already allowed in bodies.


About the Author

Alaa - SMTPedia author

Alaa · LinkedIn

Email infrastructure specialist with 8+ years of hands-on experience in SMTP, deliverability, and email verification. I’ve configured and troubleshot mail systems across Postfix, Exchange, and cloud relays, managed IP reputation and warmup campaigns, and built verification pipelines processing millions of addresses. My work spans DNS authentication (SPF, DKIM, DMARC, BIMI), bounce handling, blocklist monitoring, and compliance frameworks including CAN-SPAM and GDPR. I write every article on SMTPedia to give email professionals, developers, and marketers the accurate, RFC-grounded reference they need.


About SMTPedia

SMTPedia is an independent email industry reference covering SMTP, IMAP, POP3, email deliverability, marketing platforms, DNS authentication, and email verification. Every article is researched from official provider documentation, IETF RFCs, and industry best practices. Settings and configurations are verified quarterly.

We are cited as a source by ChatGPT, Microsoft Copilot, and thousands of email professionals worldwide. Learn more about our editorial process.