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

Can't convert string from native encoding to 'UTF-8' - subversion 1.5.1 with apache 2.03 on linux

From: Steve Whitson <steven.whitson_at_gmail.com>
Date: Wed, 20 Aug 2008 11:22:10 -0500


I'm still struggling with this problem (previous subject of 'Valid UTF-8
data ... followed by invalid UTF-8 sequence'). Anyone have any ideas?

I've googled for UTF-8 problems and none seem to deal with a fresh
repository and the exact situation I'm encountering.

This message documents another configuration, using apache 2.0.63
instead of 2.0.55. Using the newer apache server I came up with
slightly different error messages.

Again, this is on a CentOS linux system working with clean builds of
apache 2.0.63 and subversion 1.5.1. I'm working with new repositories.
The errors are not encountered when going through svnserve, only when
going through apache. Oddly enough the commits succeed, although the
error is definitely cause for concern. Is there something in apache I
need to configure to inform the subversion modules to use en_US UTF-8 by

Any help would be greatly appreciated.

I created a folder named test10 under trunk then performed an svn commit
as noted below along with errors received.

error messages from svn client
/usr/local/subversion1.5.1/bin/svn commit
Adding trunk/test08
svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in
response to MKCOL request for
svn: Your commit message was left in a temporary file:
svn: '/home2/web/svntestco/2.0.63/testA/svn-commit.4.tmp'

errors logged in apache 2.0.63
[Wed Aug 20 11:01:25 2008] [error] [client] Could not
DELETE /svncm/testA/!svn/act/d6b44522-7213-4f3c-9c9c-f4cce3fab2a1.
[500, #0]
[Wed Aug 20 11:01:25 2008] [error] [client] could not abort
transaction. [500, #22]
[Wed Aug 20 11:01:25 2008] [error] [client] Transaction
cleanup failed [500, #22]
[Wed Aug 20 11:01:25 2008] [error] [client] Can't convert
string from native encoding to 'UTF-8': [500, #22]
[Wed Aug 20 11:01:25 2008] [error] [client] 0?\\164\x01
[500, #22]

 From the tortoise repro browser I created a folder in trunk named test11

error message from tortoise
Can't convert string from native encoding to 'UTF-8'

errors logged in apache 2.0.63
[Wed Aug 20 11:04:22 2008] [error] [client] Could not MERGE
resource "/svncm/testA/!svn/act/7e4125cb-5979-8c46-8b36-9eafe2d77eb3"
into "/svncm/testA/trunk". [409, #0]
[Wed Aug 20 11:04:22 2008] [error] [client] An error
occurred while committing the transaction. [409, #22]
[Wed Aug 20 11:04:22 2008] [error] [client] Can't convert
string from native encoding to 'UTF-8': [409, #22]
[Wed Aug 20 11:04:22 2008] [error] [client] 0?\\164\x01
[409, #22]

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-20 18:23:06 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.