Doing an svn update on Linux of the Pydro tree continues to give the following error.

svn: Can't convert string from 'UTF-8' to native encoding: 

when it comes up against files with unicode characters in the name. It’s very annoying, but easy to fix. Apparently it happens because my locales aren’t set up properly. An easy fix is to set the LC_CTYPE environment variable.

jamesmh@fireweed ~/r/svn/pydro $ export LC_CTYPE=en_US.UTF-8
jamesmh@fireweed ~/r/svn/pydro $ locale
LANG=
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
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=

svn update seems to work after that.



blog comments powered by Disqus

Published

07 October 2008

Category

work

Tags