X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B3828E1.4090004@rosi-kessel.org>
Date: Sun, 27 Dec 2009 22:41:21 -0500
From: Adam Rosi-Kessel <adam@rosi-kessel.org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: rsync no longer preserves extended ASCII characters after 1.7 upgrade
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I'm running cygwin on a WinXP system with an NTFS-formatted drive. I 
have a script that regularly backs up using rsync onto a Linux system 
(Debian) with an ext3 drive.

Before the recent major upgrade, all extended ASCII characters were 
preserved perfectly without any special rsync switches. E.g., é stayed 
as é (assuming that character will survive this mailing list post -- 
accented e).

Now, all accented characters appear as ? on the target linux system.

I've tried various --iconv settings and none of them seem to work -- all 
I get is more or fewer ?'s in place of the accented characters. In 
particular, I've tried

--iconv=iso8859-1,utf-8
--iconv=iso8859-2,utf-8
--iconv=utf-8,utf-8

as well as no iconv setting at all. Also tried playing with LC_ALL but 
no better luck.

Can anyone point me in the right direction? Is this an rsync issue or a 
cygwin issue? I understand cygwin 1.7 now supports UTF-8 by default so 
in theory I should have fewer problems, not more. But I can't figure out 
how to get the new rsync to preserve these characters across filesystems.

TIA.

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

