Ubuntu 21.10に文字コードを確認する
環境情報
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10″
方法1
# env | grep LANG
LANG=ja_JP.UTF-8
方法2
# echo $LANG
ja_JP.UTF-8
Coding Changes the World
環境情報
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10″
方法1
# env | grep LANG
LANG=ja_JP.UTF-8
方法2
# echo $LANG
ja_JP.UTF-8