X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=EDtCW/KHvMjtWnzp fjSTF1SiVGuLHZglUsE3kI3crwIDehzrxXt1plhg6JgNTSVKfz8evV39RlYW/ozJ aJD0gRPQEvGu18JaWGDjEd0VMFHNxsSB0CrYUEylhktatTLmGpdK8wl/BsNFxCxq L3GjFTaPiRAYKlFLemtRqcOShX8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=Q/8JF2a4qlYY2pGSE1d9Su 43oMs=; b=iGC4GGieuDmElmYzX5rhGXfqzQm+kvZBfuXyH1XlujPRXKo13dXaGi uzzjTn27FKDDCvuMifTRbp/yUtQXvGnoZiZL5AtwGNRAmJ0YsgnYVdof1YdD5Ab1 1FMq7ZcwYuQWf5ZlS4HjC3CdaFQl5nBkgcZvftFfzGQQElDzn4uqs= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: csmail.cs.umass.edu Message-ID: <53CD241A.6040601@cs.umass.edu> Date: Mon, 21 Jul 2014 10:30:50 -0400 From: Eliot Moss Reply-To: moss AT cs DOT umass DOT edu User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Issue with cygwin svn and files with unicode characters References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 7/21/2014 10:15 AM, olivier barthelemy wrote: > Hi, > > I am sending this here and not to subversion project directly, since i > am seeing my problem in svn 1.8.1 of cygwin, but not on SVN 1.8.1 of > TortoiseSVN. > > I just added a file with unicode chinese characters in a folder where > a repository is checked out. I didn't add that file to the repository, > it's only present locally. However, when i do a svn update from > cygwin, i get the errror : > > svn: E000022: Error converting entry in directory '/my/path' to UTF-8 > svn: E000022: Can't convert string from native encoding to 'UTF-8': > svn: E000022: File?\232?\139?\185?\230?\158?\156.txt > > Numeric codes correspond to 苹果 > > As far as i know, windows file paths are always encoded in unicode, so > why is it assuming that my locale encoding is different than that? > And why is this error on a file that is not versionned preventing me > from updating my repository? Perhaps you can tell us how you have your locale set up in cygwin. I think it *might* affect things, though you *are* talking about file names (paths), as opposed to their contents. The locale is affected by things like the LANG environment variable, etc. Regards -- Eliot Moss -- 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