www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/27/22:41:54

X-Recipient: archive-cygwin AT delorie DOT 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 AT rosi-kessel DOT 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 AT cygwin DOT com
Subject: rsync no longer preserves extended ASCII characters after 1.7 upgrade
X-IsSubscribed: yes
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

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

- Raw text -


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