Documentation for method encoder, assembled from the following types:
method encoder(Encoding: * --> Encoding::Encoder)
Gets a character encoder instance for this encoding, configured with the provided options. Options vary by encoding. The built-in encodings all support both
replacement (either a
Str replacement sequence or
True to use a default replacement sequence for unencodable characters) and
translate-nl (when set to
\r\n if the current platform is Windows).