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

svn and encoding

From: Hamilton Chua <hamilton.chua_at_gmail.com>
Date: 2005-09-22 05:33:09 CEST

This maybe slightly off topic. If it is I beg the people of the mailing list's
endulgence =)

/data1/hamtailor/subdirtest $ svn commit --file /tmp/tailor4CdwRhsvn
packages/oacs-dav/tcl/tDAV-procs.tclsvn: Commit failed (details follow):
svn: Can't convert string from native encoding to 'UTF-8':
svn: Tailorized "2005-09-21 11:59:56 by darior"
change format in clock format because there is a problem with accent ex. mi?

I use tailor to sync a CVS repository with a branch in my personal subversion
repository. It was running fine until I encountered the problem above.

I know it may have something to do with encoding. I tried everything from
changing the LC_MESSAGE and LANG environment variables and passing encoding
to the tailor script but to no avail.

I also understand that this may occur in a normal workflow when using
subversion alone and one's LANG settings somehow don't jive.

I would like to ask if anybody has a hook script (pre commit) that I can use
to check for this. My intention is

1) detect
2) subst or replace the offending character

before committing.

Your thoughs and many thanks.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 22 05:35:04 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.