fix: unable to display html mail with gbk encoding

This commit is contained in:
Klesh Wong 2023-03-06 15:53:51 +08:00
parent 9427e7e43c
commit b23eec9e6b

View File

@ -50,6 +50,11 @@ case "$PM" in
sed -i 's%pkglibdir = ${CYRUS_SASL_PREFIX}/lib/sasl2%pkglibdir = ${CYRUS_SASL_PREFIX}/lib/x86_64-linux-gnu/sasl2%' Makefile sed -i 's%pkglibdir = ${CYRUS_SASL_PREFIX}/lib/sasl2%pkglibdir = ${CYRUS_SASL_PREFIX}/lib/x86_64-linux-gnu/sasl2%' Makefile
make make
sudo make install sudo make install
# lynx with gbk support
if ! grep "ASSUME_UNREC_CHARSET:euc-cn" /etc/lynx/lynx.cfg; then
echo "ASSUME_UNREC_CHARSET:euc-cn" | sudo tee -a /etc/lynx/lynx.cfg
fi
esac esac