← All docs

iconv_mime_encode()

Encodes one header field as RFC 2047 encoded-words.

iconv_mime_encode()

function iconv_mime_encode(string $field_name, string $field_value, mixed $options = []): mixed

Encodes one header field as RFC 2047 encoded-words.

Parameters:

  • $field_name (string)
  • $field_value (string)
  • $options (mixed), default [], optional

Returns: mixed

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how iconv_mime_encode is implemented in the compiler, see the internals page.