X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <47F61584.9020200@wpkg.org>
Date: Fri, 04 Apr 2008 13:48:20 +0200
From: Tomasz Chmielewski <mangoo@wpkg.org>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Mandriva/1.5.0.8-1mdv2007.1 (2007.1) Thunderbird/1.5.0.8 Mnenhy/0.7.4.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: using rsync with Win32/UNC pathnames?
References: <47F22572.3030406@byu.net> <47F2276F.7080405@wpkg.org> <47F229BD.2060507@byu.net> <47F22BD6.3040801@wpkg.org> <47F22DF5.6020108@byu.net> <20080401124823.GQ4468@calimero.vinschen.de> <47F23164.8040604@wpkg.org> <23fce8e60804011425q1342c521y6849a8e405480389@mail.gmail.com> <47F371B6.3050107@wpkg.org> <47F539B6.3961D2ED@dessent.net> <20080403204802.GE4468@calimero.vinschen.de>
In-Reply-To: <20080403204802.GE4468@calimero.vinschen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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

Corinna Vinschen schrieb:
> On Apr  3 13:10, Brian Dessent wrote:
>> Tomasz Chmielewski wrote:
>>
>>> So once Cygwin learns how to speak UTF-8, I will finally be able to
>>> backup all Windows files... :)
>> Set CYGWIN=codepage:utf8 to enable UTF-8 support.
> 
> ...and set LC_CTYPE=C-UTF-8, otherwise multibyte/wide char aware
> application don't convert UTF-8 strings correctly from multibyte to
> wide char and vice versa.

It works, but again, only locally.

Is there a way to tell these variables to a cygwin service (i.e., rsyncd 
started with cygrunsrv?).

I tried to set them as a global variable (System -> Advanced -> 
Environment variables), started new console, restarted rsyncd service 
with cygrunsrv, but it doesn't have any effect on rsyncd service - files 
with UTF-8 characters still fail to transfer (file has vanished).

This time, I used rsync 3.0.0 binary on a Linux server, so it's not a 
problem with an old protocol etc.



-- 
Tomasz Chmielewski
http://wpkg.org

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

