0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

文字コード直すメモ

Posted at

文字化けしたときの対処をメモる。
よくあるのでこれから追記してメモる。

Linuxのコマンドラインが文字化け

$ locale -a | grep ja

ここで出てきたものを各シェルに設定する。
設定ファイルに下記のように書き、source [設定ファイル名]で反映させる方法でやった。

export LANG=[文字コード]

これで直った。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?