delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/26/17:00:47

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 26 Mar 2010 23:00:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: UTF8 and cvs issues in 1.7.2
Message-ID: <20100326220031.GZ7718@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <op DOT u962oy0u5o90vo AT orion DOT search DOT b DOT superkabel DOT de>
MIME-Version: 1.0
In-Reply-To: <op.u962oy0u5o90vo@orion.search.b.superkabel.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
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

On Mar 26 22:44, lemkemch AT t-online DOT de wrote:
> On Fri, 26 Mar 2010 10:30:28 +0100 Corinna Vinschen wrote:
> >What you can do is either to
> >use ISO-8859-1 sort of like above, or you convert the file content
> >to UTF-8 so you can use UTF-8 from now on.
> 
> The only problem is this file is none of my business.  It's CVS's file.
> What does cvs on linux do in this case?

In what case?

If the filename in the file is written incorrectly, it will fail the
same as on Cygwin.

Other than that, the filename in Linux (or any other POSIX OS) is just a
NUL-terminated byte stream.  There is never any charset conversion
necessary on the file API level, the filename has just to match byte by
byte.
The actual charset is only relevant on the UI level and only on that
level you will see, for instance, a question mark in the filename where
an ISO8859-1 character doesn't make sense when using UTF-8.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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