Update service classes to detect input/output encodings properly