From 4ee49d6d4c967b81493294c05d7ac150d178eecd Mon Sep 17 00:00:00 2001 From: tianyu Date: Tue, 27 Sep 2016 01:25:25 +0800 Subject: [PATCH] fix encoding --- kindle/cron.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kindle/cron.sh b/kindle/cron.sh index e69f294..dc91833 100755 --- a/kindle/cron.sh +++ b/kindle/cron.sh @@ -8,4 +8,4 @@ echo "$PWD" cd "$PWD" || exit 1 -venv/bin/python kindle.py \ No newline at end of file +PYTHONIOENCODING=utf-8:surrogateescape venv/bin/python kindle.py