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

Re: [Bug] ClientException with special characters in SVNClient.diff (JavaHL) if properties changed

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-11-21 20:36:35 CET

On Mon, Nov 21, 2005 at 05:44:03PM +0100, Mathias Weinert wrote:
> I have a problem with the diff function in JavaHL's
> SVNClient class (using (cygwin's) Subversion 1.2.3):

> "svn: Safe data '
> Property changes on: x' was followed by non-ASCII
> byte 195: unable to convert to/from UTF-8"
>

That's odd. From what I can see, that message is only generated if
Subversion can't work out how to translate text between the native locale
and UTF-8; we then fall back to an ASCII-only mode.

Unfortunately I don't know a great deal about cygwin, but on my Linux and
Mac OS machines, I've got an 'iconv' utility; running 'iconv -t UTF-8 |
iconv -f UTF-8' acts as a filter, translating text on stdin (in the system
locale) into UTF-8 and back again (in other words, an identity transform,
assuming you can convert to UTF-8 and back).

You could try that: it may give you a useful error message (alternatively,
it may just be confusing if cygwin doesn't have iconv, or APR-on-cygwin
doesn't use it).

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 21 20:37:59 2005

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

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