How do I enable Japanese and Chinese text in Ubuntu Server?


Open . Using vi, for example:$HOME/.bashrc


vi .bashrc

Add these lines:


case $TERM in
    linux) LANG=C ;;
    *) LANG=ja_JP.UTF-8 ;;
esac