I started getting the following error whenever i use SVN in my server:
svn: warning: cannot set LC_CTYPE locale svn: warning: environment variable LC_CTYPE is UT
Adding just one more option that worked for me on a RHEL6 system.
/etc/sysconfig/i18n contained LANG="en_US.UTF-8" but locale -a | grep -i en_us showed en_US.utf8.
/etc/sysconfig/i18n
LANG="en_US.UTF-8"
locale -a | grep -i en_us
en_US.utf8
After updating /etc/sysconfig/i18n to match the output of locale -a the problem was resolved.
locale -a