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

Filenames with non-ASCII characters

From: Rodrigo Montenegro <montenegro.r_at_gmail.com>
Date: Thu, 13 May 2010 14:29:31 -0300

Hey guys!

I am trying to block the users committing files with non-ASCII characters in
their names during the pre-commit hook script, but when I get the list of
files being committed with "svnlook changed" the filenames are completely
messed up.

For example, a file named "ação.txt" when committed, has the string "A
trunk/a?\195?\167?\195?\163o1.txt" returned by the "svnlook changed"
command.

I have tried to convert "A trunk/a?\195?\167?\195?\163o1.txt" into
iso8859-1 but I had no luck. I made the pre-commit hook scrips using python.

____________________________________________
Rodrigo Montenegro de Oliveira
Received on 2010-05-13 19:30:41 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.