ubuntu/debian local issues

If you ever have an issue similar to below on debian or ubuntu

svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is en_GB.UTF-8
svn: warning: please check that your locale name is correct

then run the following command to fix the problem, obviously choosing your locale, in my case for debian wheezy, I chose 122, which was `en_GB.UTF-8`

dpkg-reconfigure locales