Lookup up the codec for the given encoding and return its encoder function. Raises a LookupError in case the encoding cannot be found.
(encoding)
nothing calls this directly
no test coverage detected