X-Recipient: archive-cygwin AT delorie DOT 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 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 AT cygwin DOT com Subject: Re: using rsync with Win32/UNC pathnames? References: <47F22572 DOT 3030406 AT byu DOT net> <47F2276F DOT 7080405 AT wpkg DOT org> <47F229BD DOT 2060507 AT byu DOT net> <47F22BD6 DOT 3040801 AT wpkg DOT org> <47F22DF5 DOT 6020108 AT byu DOT net> <20080401124823 DOT GQ4468 AT calimero DOT vinschen DOT de> <47F23164 DOT 8040604 AT wpkg DOT org> <23fce8e60804011425q1342c521y6849a8e405480389 AT mail DOT gmail DOT com> <47F371B6 DOT 3050107 AT wpkg DOT org> <47F539B6 DOT 3961D2ED AT dessent DOT net> <20080403204802 DOT GE4468 AT calimero DOT vinschen DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/