subversion and utf-8

David Rothenberger daveroth@acm.org
Wed Oct 14 17:42:00 GMT 2009


On 10/14/2009 7:26 AM, Markus Schaber wrote:
> I'm running a just freshly updated cygwin 1.7 on vista64, and suffer
> from the utf-8 problem described for 1.5 at
> http://sourceware.org/ml/cygwin/2008-08/msg00536.html

I am not having problems using Subversion 1.6.5 and Cygwin 1.7.0-62. 
However, my knowledge of character sets is very limited, so let me 
describe what I did.

First, I made a repository.

% svnadmin create repos
% R=file://`pwd`/repos

Then, I checked it out into a working directory.

% svn co $R wc

Then, I created a couple of files with non-ASCII characters in their 
name. (Since I don't normally do this, I just copied some words from 
your email's signature.)

% export LANG=C.UTF-8
% touch wc/Burgstraße wc/Geschäftsführer wc/für
% svn add wc/*
% svn ci -m '' wc

Note that the "svn add" will fail if I don't set LANG=C.UTF-8.

I checked this out into a different working directory.

% svn co $R wc2

I then tried changing a file in one working directory and updating the 
other.

% date > wc/für
% svn ci -m '' wc
% svn up wc2

All this worked fine on my system as long as LANG=C.UTF-8. I tried it 
from the console window and from MinTTY.

-- 
David Rothenberger  ----  daveroth@acm.org

Newton's Little-Known Seventh Law:
         A bird in the hand is safer than one overhead.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list