Conny Lundgren

On Agile, Development, Mac, Technology and life in general.

SVN, Fix "Can't Convert String From 'UTF-8' to Native Encoding:"

| Comments

Well getting back from vacation I tried to update one of my subversion repositories, and I were once more met with the “Can’t convert string from ‘UTF-8’ to native encoding:” , luckily it is easily fixed. This problem is caused by filename containing “special” characters (in my case Swedish ÅÄÖ).

[conlun@mbp:/]$ export LC_CTYPE=en_US.UTF-8

Verify you changes by running

[conlun@mbp:/]$ locale LANG= LC_COLLATE=”C” LC_CTYPE=”en_US.UTF-8” LC_MESSAGES=”C” LC_MONETARY=”C” LC_NUMERIC=”C” LC_TIME=”C” LC_ALL=”C/en_US.UTF-8/C/C/C/C”

Comments