http://blog.chinaunix.net/uid-21756505-id-2234997.html?utm_source=jiancool
chardet.detect(info.filename)['encoding'] 探测编码
something.decode('utf8', errors='ignore') # replace, 默认strict
https://blog.csdn.net/cbbbc/article/details/47462015
localectl set-locale 设置 locale
locale-gen
/etc/default/locale
sudo localctl set-locale en_US.UTF-8
sudo dpkg-reconfigure locales
网友评论