> Lübbe, do you think it might be the wrong locale settings for
> the user running svn/apache when I commit the log message?
> I'm getting the correct message out from TSVN Show Log - but
> maybe thats to be expected.
I had exactly the same symptom. TSVN shows the log correctly which tells you
that the characters are stored correctly.
> When I try svnlook log loacally on the server I get something
> like this: startv?\195?\164rde
I had exactly the same problem with the german special characters. Which
version of svn are you running on your server? I reported a bug in svnlook
log some months ago which is fixed in the meantime.
If 'svnlook log <URL>' gives wrong results and 'svn log <URL>' gives correct
results, then you are still running svn with the 'svnlook log' bug. You
should upgrade your server software in this case.
Did you erase the websvn cache between your experiments? You may still get
wrong results from there.
> I don't have a iconv for win32, but I tried experimenting with
I was assuming a linux sever for some reason...
> the iconv functions in PHP - although without any positive
> results. I also tried the utf8_encode/decode functions from the
> XML library in PHP without success. I noticed, however, that the
> output from utf8_encode for swedish characters didn't look like
> the output from above (?\195?\164) it was more "garbish"-chars.
If you accidentally encode/decode the characters twice, you'll ger more
> > export LANG="de_DE.utf8"
> Where has this line effect? I'm not that good with shellscripts...
On a linux server, the apache / svn user is running in a completely blank
environment which means that there is no path, no locale setting etc. That's
why you have to set these variables.
There was a problem with svn not finding its iconv library on windows which
results in the character encoding issue you describe, but I don't remember
exactly anymore how it was solved. Check the APR_ICONV_PATH variable on your
windows server and see if the libraries are really there.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Mon Feb 7 10:19:46 2005