Click needs the right locales configuration which was not the case with docker containers using on travis CI tests. See: https://click.palletsprojects.com/en/7.x/python3/#python-3-surrogate-handling Workaround ... test with Python 3.7.