Fix encoding issue in service.py.