0
0

More than 1 year has passed since last update.

Amazon Linux 2 の環境で rails c を立ち上げた際、日本語入力をすると Encoding::UndefinedConversionError が出ていたので修正

Posted at

そもそもの文字の設定が問題でした。

/etc/sysconfig/i18n など共通で読み込まれるファイルに下記を追記したら入力できるようになりました。

LANG=en_US.utf-8
LC_ALL=en_US.utf-8
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