Fixed encoding issues for when running in docker