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
Although setting LC_CTYPE to an empty value worked for me, the underlying reason was that the app Terminal on my Mac was setting the locales on startup, even when I SSH to another system.
This can be fixed in Terminal > Preferences: