I've solved the problem for myself with a workaround:
I use "svn proplist" instead of "svnlook proplist".
The unicode chararacters gets URL-encoded.
This works.
Thank you very much for your suport!
> -----Ursprüngliche Nachricht-----
> Von: Matthias Ludwig [mailto:matthias.ludwig_at_stl-software.de]
> Gesendet: Sonntag, 14. Dezember 2014 20:01
> An: 'users_at_subversion.apache.org'
> Betreff: svnlook proplist & unicode characters
>
> Hello,
>
> I try to call Svnlook proplist within a svn hook on windows.
>
> Svnlook proplist <repo-path> <pathToFile>
>
> The <pathToFile> contains unicode only characters (unicode combinining
> characters).
>
> The unicode characters are not passed correctly to svnlook.
>
> I googled around and found that one should that the code page with chcp. This
> changes the stdout-encoding of svnlook for the output. But I did not succeed to
> change the interpretation oft he calling parameter.
>
> The caller is a java routine. I tried Runtime.getRuntime().exe() and native calls
> via jna.
>
> I do not exactly know where the problem is. Does the call mess up the unicode
> characters? Or is svnlook not capable of processing unicode characters in input
> paremeters?
>
> Any suggestions?
>
> Thank you.
>
>
Received on 2014-12-17 22:09:03 CET