0
0

Macのターミナルで日本語を入力できない

Posted at

問題

MacのターミナルでDBの操作中に日本語を入力してエンターを押すと、消えてしまう事象が発生しました。

解決方法

~/.bash_profileに以下を追記します。

~/.bash_profile

export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8

その後、ターミナルで以下を実行して、設定を反映させます。

source ~/.bash_profile

参考

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