Error solving tasks before Spug publishing: Exception: 'utf-8' codec can't decode bytes in position 116-117: invalid continuation byte Author: Chuwen Time: 2021-09-12 Classification: Linux ##Environment Briefly describe my environment. Docker is installed on macOS, and Spug is installed in Docker. Then add a host in Spug, connect the local machine with ssh, and simulate the relevant environment to build and publish - Docker for macOS: `Docker version 20.10.8, build 3967b7d` -Spug API Version: ` v3.0.1-beta.9` -Spug Web Version: ` v3.0.1-beta.9` ##Task error before publishing Exception: 'utf-8' codec can't decode bytes in position 116-117: invalid continuation byte ##Investigate the reason Until I use the Web Console to connect to the local ssh and execute the'll 'command, I found that the folder name is'` At first glance, I found the problem. It was Chinese garbled code. I thought that the above error might be the reason. ##Solution Suppose you use 'oh my zsh' and execute the following command: ```shell vim ~/.zshrc ``` Then add the following two sentences at the end of the file: ``` export LC_ALL=zh_CN.UTF-8 export LANG=zh_CN.UTF-8 ``` Then save and exit, first press' ESC ', then enter': wq 'in English input status, and then press' Enter' Then make the configuration file effective: ```shell source ~/.zshrc ``` label: oh-my-zsh , Terminal garbled