LoginSignup
6
6

More than 5 years have passed since last update.

oh-my-zshで文字化け

Posted at

環境

OS: Mac OS X Versin 10.8.3
terminal: iTerm2 Build 1.0.0.20130319
shell: zsh 4.3.11

.zshrc
source $ZSH/oh-my-zsh.sh

の箇所をコメントアウトすると文字化けが直る。

oh-my-zshを不活性にした状態で環境変数を見る

$ env
LC_CTYPE=

LC_CTYPEあたりが怪しい。

$ cd .oh-my-zsh
$ ack LC_CTYPE
ib/misc.zsh
15:export LC_CTYPE=$LANG

$ export LC_CTYPE=UTF-8
としたら、なおった。

6
6
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
6
6