Subversion and locale

wordpress

#1

I checked out wordpress from their subversion repository and run it for a while. When I do a svn update (or a svn switch), svn stops with this error message:

svn: Can’t convert string from native encoding to 'UTF-8’
svn: semp?\195?\169.jpg

where semp?\195?\169.jpg is the filename of an image which was uploaded and contains special accent characters. Many other files have the same problem.

My locale is POSIX

Should I change the locale to, say, en_IN.utf8? And would that impact my other sites already running on my account?

Thanks in advance,

Blau

LANG=POSIX
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE=C
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=


#2

Well, I solved this issue myself. Set the shell locale to the appropriate ecoding by adding this to .bash_profile
export LANG=fr_FR.utf8
export LC_ALL=fr_FR.utf8