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

Re: Can't convert string from native encoding to 'UTF-8' with Tortoise SVN and Apache server on Ubuntu 8.04

From: Grégory Maitrallain <gregory.maitrallain_at_evodia.fr>
Date: Thu, 10 Sep 2009 09:48:50 +0200

Right, this was a server problem...
I couldn't find apr-iconv in Ubuntu repository, and I try not to
interfere with the repositories while compiling and installing manually.

But I found what caused the problem. It was because of a pre-commit
script, asking for a comment when commiting. The script is in UTF-8 and
contains text with accented characters. I removed them and it works. Not
the perfect solution, but it works...

Thanks !

Greg.

Stefan Küng a écrit :
> On 09.09.2009 15:01, Grégory Maitrallain wrote:
>
>
>> Hi,<br>
>> <br>
>> I have a problem with encoding between Tortoise SVN and Apache server
>> when I try to commit files with not-so-special characters. Checkout
>> works fine with theses files. Here is the error message with a sample
>> file "site spec.doc"<br>
>> <br>
>> Command: Commit<br>
>> Adding: D:\tmp\Site Web\site spec.doc (application/octet-stream)<br>
>> Sending content: D:\tmp\Site Web\site spec.doc<br>
>> Error: Commit failed (details follow):<br>
>> Error: Can't convert string from native encoding to 'UTF-8':<br>
>> Finished!<br>
>> <br>
>> When searching, I found many results for this problem, but no solution.
>> I tried to find a way to change Tortoise encoding, so that "native
>> encoding" would be UTF-8, but I found nothing.<br>
>> <br>
>> I use Tortoise SVN 1.6.3. The server runs on Ubuntu 8.04, through
>> Apache 2.2.8 and SVN 1.4.6<br>
>> <br>
>> Is there a solution for this problem ?<br>
>>
>
> This is an issue on the server side. You have to make sure that your
> server has apr_iconv installed and that the svn modules can find it.
> TSVN (and other windows clients) all must pass all data and string utf-8
> encoded to the svn library, and that's not a problem anymore on Windows
> ever since apr_iconv isn't used anymore on Windows.
>
> Stefan
>
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2393173

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-09-10 09:49:08 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.