以下の内容はhttps://iww.hateblo.jp/entry/20260204/bash_profileより取得しました。


trixieで、rootユーザーで日本語を使用する

一般ユーザーでは普通に日本語使えるんだけど、rootだとなんでか日本語が文字化けする。 という話

今どきのDebianのインストーラでは、「LANGを日本語にしていると文字化けするからCにしとくね」
って感じで .profile を直してくれる

# ~/.profile: executed by Bourne-compatible login shells.

if [ "$BASH" ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi
# Installed by Debian Installer:"
#  no localization for root because ja_JP.UTF-8"
#  cannot be properly displayed at the Linux console"
LANG=C
LANGUAGE=C

あとからデフォルトのロケールを en_US.UTF-8 に変更してもここを直してくれるわけではないので、ここを削除かコメントアウトする




以上の内容はhttps://iww.hateblo.jp/entry/20260204/bash_profileより取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14