delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/14/13:42:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,BOTNET,SARE_SUB_ENC_UTF8
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Message-id: <4AD60D8C.9020509@acm.org>
Date: Wed, 14 Oct 2009 10:42:36 -0700
From: David Rothenberger <daveroth AT acm DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
To: cygwin AT cygwin DOT com
Subject: Re: subversion and utf-8
References: <1A3D5F1165829041A6E13EC92EBCC1930107E5D3 AT soloplan203 DOT soloplan DOT de>
In-reply-to: <1A3D5F1165829041A6E13EC92EBCC1930107E5D3@soloplan203.soloplan.de>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT acm DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019