diff --git a/scmrepo/progress.py b/scmrepo/progress.py index e4d306c6..c5524db4 100644 --- a/scmrepo/progress.py +++ b/scmrepo/progress.py @@ -50,7 +50,9 @@ def __init__(self, fn) -> None: def __call__(self, msg: Union[str, bytes]) -> None: self._reporter._parse_progress_line( - msg.decode("ascii").strip() if isinstance(msg, bytes) else msg + msg.decode("utf-8", errors="replace").strip() + if isinstance(msg, bytes) + else msg ) @staticmethod