Add the following line in /etc/default/locale
LC_ALL="en_US.UTF-8"
Works in Ubuntu, not tested in other distros.
Link: http://redscreen.wordpress.com/2011/11/0 1/warning-setlocale-lc_ctype-cannot-chan ge-locale-utf-8/
LC_ALL="en_US.UTF-8"
Works in Ubuntu, not tested in other distros.
Link: http://redscreen.wordpress.com/2011/11/0
Note: this solution didn't work in Fedora, but it seemed to be a Mac OS specific issue (SSH client is Mac OS). In the Mac OS shell environment, I did an "export LC_CTYPE=en_US.UTF-8" and it made the error go away as well. Looks like it was the Mac OS SSH Client trying to set a locale on the SSH Terminal session that wasn't supported in Fedora.
Edit: it turns out that it's the Mac terminal trying to set the locale. Just disable this in the preferences and it won't happen anymore.
No comments:
Post a Comment