encoding-correction for docstring