Ng Wai Foong
1 min readJul 11, 2019

--

Hi,

This is related to the encoding used for Python. It originally default to ASCII if no other encoding is specified. You can solve this by adding the following line on top of the encoder.py file (modify the encoding name to the one that you used, you can try utf-8 for start).

#!/usr/bin/python
# -*- coding: <encoding name> -*-

Check out the following article to find out more! It has the explanation and proposed solution.

Best regards,

Wai Foong

--

--

Ng Wai Foong
Ng Wai Foong

Written by Ng Wai Foong

Senior AI Engineer@Yoozoo | Content Writer #NLP #datascience #programming #machinelearning | Linkedin: https://www.linkedin.com/in/wai-foong-ng-694619185/

Responses (1)