PyCodec_Encode

Generic codec based _encoding API.

object is passed through the encoder function found for the given encoding using the error handling method defined by errors. errors may be NULL to use the default method defined for the codec.

Raises a LookupError in case no encoder can be found.

extern (C)
PyCodec_Encode
(,
const(char)* encoding
,
const(char)* errors
)

Meta