delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/15/02:31:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SARE_SUB_ENC_UTF8,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <hb6e70$2o1$1@ger.gmane.org>
References: <1A3D5F1165829041A6E13EC92EBCC1930107E5D3 AT soloplan203 DOT soloplan DOT de> <4AD60D8C DOT 9020509 AT acm DOT org> <hb6e70$2o1$1 AT ger DOT gmane DOT org>
Date: Thu, 15 Oct 2009 07:31:05 +0100
Message-ID: <416096c60910142331r1542e557s3b458f8d392032ab@mail.gmail.com>
Subject: Re: subversion and utf-8
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

2009/10/15 Lapo Luchini:
> David Rothenberger wrote:
>> % export LANG=3DC.UTF-8
>> % touch wc/Burgstra=C3=9Fe wc/Gesch=C3=A4ftsf=C3=BChrer wc/f=C3=BCr
>> % svn add wc/*
>> % svn ci -m '' wc
>>
>> Note that the "svn add" will fail if I don't set LANG=3DC.UTF-8.
>
> As per 1.7.0-62 announcement, UTF-8 should be the default locale for
> LANG=3DC so LANG=3DC should work there as well.

Yes, it should, but unfortunately it depends on whether svn has its
own idea of what "C" means.


> But of course the "best" value to use is the language of the user + UTF,
> e.g. in my case LANG=3Dit_IT.UTF-8, and in the case of the OP I guess
> LANG=3Dde_DE.UTF-8.

That's right. "C.UTF-8" is not (yet) available on most other systems.
Debian are only just introducing it, and it's intended as a neutral
fallback only, when the user's language isn't known.

Andy

--
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