[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: Mathias Weinert <mathias.weinert_at_gfa-net.de>
Date: 2005-11-22 13:52:31 CET

"Mathias Weinert" <mathias.weinert@gfa-net.de> wrote:
> I also tried it now under Windows without using cygwin and got
> the same ClientException (BTW: I only have the JavaHL bindings
> for Windows as I didn't manage to build them under cygwin).
>
> For me the question is why does everything else work but only
> throw an exception if there are changed properties.
>
> Patrick Mayweg <mayweg@qint.de> wrote:
> > Hi Matthias,
> > it looks like JavaHL did not find the APR-Iconv Dlls, but the command
> > line client does. Why it want to convert the path from or to UTF-8, I do
> > not know.
>
> I again wonder why everything else works using JavaHL.
> If the conversion from or to UTF-8 wouldn't work at all
> I would expect to get ClientExceptions in other cases, too.
>

I did some more testing and found out that I have much more
problems if I use Subversion under windows (without any cygwin).

On Windows I get the same error with everything I do with the
file 'xäx':
D:\Path\To\WC>svn info xäx
svn: Safe data 'x' was followed by non-ASCII byte 228: unable to convert to/from UTF-8

D:\Path\To\WC>svn info svn://path/to/repos/xäx
svn: Safe data 'svn://path/to/repos/x' was followed by non-ASCII byte 228: unable to convert to/from UTF-8

D:\Path\To\WC>svn info svn://path/to/repos/xäx
svn: Safe data 'svn://path/to/repos/x' was followed by non-ASCII byte 195: unable to convert to/from UTF-8

If I do a checkout I get the following:
[...]
A repostrans\x?\195?\164x
and the file is checked out correctly.

So this thread is now about to be two ones:

1. What can I do under Windows to get the special characters
being handled properly (I already tried seeting LC_ALL to
a lot of different values)?

2. (again) Why does everything except the properties
work well with the JavaHL (I still have the hope that
there can be changed something in the Subversion
code)?

Any help is appreciated

Mathias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 22 13:54:23 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.