I run iTerm2 (Build 0.20.20110109) on two nearly identical computers (same OS, same language/regional settings).
First iTerm2 installation was upgraded from the previous version. On a second computer I have a clean installation of iTerm2 (not an upgrade).
Strangely when running the first installation, LANG environment variable is not set hence entering anything except pure ASCII from keyboard doesn't work.
The second installation doesn't have this issue. I copied iTerm2 settings from the second machine (~/Library/Preferences/com.google.iTerm2.plist) but it didn't help.
To confirm that the problem is not caused by different .bashrc-s I did setup a new “bookmark” in iTerm. It runs “env” instead of a login shell. It showed the same results.
Finally I've inspected process tree with ps. As far as I can comprehend, iTerm spawns login process. In the first case it doesn't have LANG environment variable set. In the second case it does. In both cases iTerm itself doesn't have the LANG set.
Any ideas what to check next?
The locale is formed from the settings for the current user’s chosen system locale overlaid with any custom settings the user has specified in System Preferences.