fixed possible editor $LC_CTYPE overrride issue