Rfc2231Encoder
in package
implements
EncoderInterface
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- encodeString() : string
- Takes an unencoded string and produces a string encoded according to RFC 2231 from it.
Methods
encodeString()
Takes an unencoded string and produces a string encoded according to RFC 2231 from it.
public
encodeString(string $string[, string|null $charset = 'utf-8' ], int $firstLineOffset, int $maxLineLength) : string
Parameters
- $string : string
- $charset : string|null = 'utf-8'
- $firstLineOffset : int
-
if first line needs to be shorter
- $maxLineLength : int
-
- 0 indicates the default length for this encoding