Closed Freed-Wu closed 1 year ago
Oh, it looks like locale's bug:
$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Solution:
sudo sed -i 's/^# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g' /etc/locale.gen
sudo locale-gen
In ubuntu-20.04 LTS:
I find comment
locale.setlocale(locale.LC_ALL, "")
can make this plugin work. What is the function of this line? Can we remove it or change it to: