There is an error in this string "//a//o\u0308".
It should be "/a/o\u0308". But this does not change the behaviour. I've
tried it again, the problem persists.

/ -> slash for path separator
a -> name of subfolder
/ -> slash for path separator
o -> for "o"
\u -> escaping: here comes a UTF-16 code in hex
0308  unicode Unicode Character 'COMBINING DIAERESIS' 

Java String are internaly stored in Unicode (UTF-8, UTF-16 or whatever, it's
internal - you tell java what you want, when you pull it out)
The String ist therefore converted in the Runtime.getRuntime().exec method. 



> -----Ursprüngliche Nachricht-----
> Von: Philip Martin [mailto:philip.mar...@wandisco.com]
> Gesendet: Mittwoch, 17. Dezember 2014 19:49
> An: Matthias Ludwig
> Cc: users@subversion.apache.org
> Betreff: Re: AW: AW: svnlook proplist & unicode characters
> 
> "Matthias Ludwig" <matthias-lud...@gmx.net> writes:
> 
> >                     run(pathToSvn, pathToTest, repo,
>
env,pathToSvn+"\\svnlook","proplist",repo.getAbsolutePath(),"//a//o\u0308");
> 
> I'm not a Java or Windows expert.  What is the encoding of
> 
>               "//a//o\u0308"
> 
> is it UTF-8 or UTF-16?  If it is UTF-16 when/where does it get converted
> to UTF-8?
> 
> --
> Philip Martin | Subversion Committer
> WANdisco // *Non-Stop Data*

Reply via email to