[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

"svn: Can't recode string" and Mac OS X

From: The Karl Adam <karl.adam_at_gmail.com>
Date: 2005-04-25 17:42:31 CEST

I've run into this error a couple times and have basically resolved it
by asking in #svn every time, but the root of the problem is that in
order for svn's unicode support to work correctly I need to have a
LANG set in my environment vars. The only problem is that on Mac OS X,
by default everything is unicode and the LANG property is not set, so
we end up with this error whenever weird chars are encountered.

The problem I'd like addressed is two-fold. One that error is very
ambiguous and doesn't actually tell the user what is wrong, how to fix
it, or even where to even approach the problem from.

The second is that on some system the LANG variable might not be set
at all, and in that case this error would be common. My suggestion to
fix these is that an internal fallback of en_US.UTF-8 be used since
UTF-8 is multi-language anyway and it would avoid this problem for
those of us on systems like Mac OS X.

P.S. I'm not actually subscribed to the dev-list, but please CC me any
responses.

Thank You,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 25 19:25:37 2005

This is an archived mail posted to the Subversion Dev mailing list.