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

Re: SVN 1.4: #$%&§*ing UTF-8 problems

From: Peter Koellner <peter_at_asgalon.net>
Date: Mon, 23 Nov 2009 14:20:49 +0100 (CET)

Hi!

The files themselves were never meant to be added to version control.
The trouble was that the uploaded files are accessed through DBMS entries
from the web application so the filenames could not be changed or
reencoded in any way without a really large effort, i.e. changing
third party code modules.
In the meantime, I have found out that the files directory itself had
initially been added to the subversion repository when it still was
empty, and only afterwards has been added to the ignore
list. Also, the directory was mounted from a different location in the
server filesystem. So I first changed the mount to a soft link, and
also deleted the directory from the subversion repository. The error
messages are gone now. I am not quite sure why adding * to the
svn:ignore property of files did not solve the problem, but I guess
that parsing the filenames from the directory list happens before
svn:ignore is applied. Since this behaviour seems to happen only in
very special circumstances I guess putting a note such as this to one
of the searchable mailing lists should suffice to document the
solution...

Thanks for your support

   Peter

On Sun, 22 Nov 2009, Kevin Grover wrote:

> Just off the top of my head, I would look into these:
>
> 1) When files are added to your area, you can probably get the source system
> from the HTTP header info. Rename the files to UTF-8 names based on this
> setting.
>
> 2) Rename all files to encode >127 chars as %xx (like a URL encoding), then
> you should not having any problems with subversion trying to convert file
> names to UTF8. Or, just strip out all highbit characters from the names.
> There are many options.

-- 
peter koellner <peter_at_asgalon.net>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423342
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-23 14:25:21 CET

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.