[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Re: UTF and command line

From: Igor <i3v_at_mail.ru>
Date: Wed, 12 Jun 2013 13:35:50 -0700 (PDT)

> On 9 June 2013 05:18, Igor <i3v at mail dot ru> wrote:
> > I'm still not sure if it's a bug, or if I'm doing something wrong. But I'm unable to get TortoiseSVN command-line tool to work with files with UTF-8 characters in their name.
> >
> > Workflow:
> >
> > 1. Create "c:\temp\UNCtest\R_UNCtest\" folder
> > 2. Create a repository with default file structure in it
> > 3. Checkout "trunk" dir to "c:\temp\WC\trunk"
> > 4. Create file "c:\temp\WC\trunk\1‐2.txt" ,
> > note, that filename consists of 3 symbols, and the one in the middle is "HYPHEN" or &#8208, (see http://www.fileformat.info/info/unicode/char/2010/index.htm )
> >
> > 5. Add and commit this file with Tortoise GUI.
> > (this works OK)
> > 6. start windows cmd
> > 7. make sure your cmd is set to use UTF-8 compatible font, for example, "Consolas" (see http://stackoverflow.com/a/10765469/1032586 ).
> > 8. navigate to "c:\temp\WC\trunk"
> > 9. type "dir" - you should see the listing correctly, including "1‐2.txt" file
> > 10. Type "mkdir 1‐2" - this should correctly create a directory.
> > 11. Type "svn info 1‐2.txt"
> > Result:
> > --------------------------------------------------
> > svn: warning: W155010: The node 'C:\TEMP\UNCtest\WC\trunk\1?2.txt' was not found
> > .
> >
> > svn: E200009: Could not display info for all targets because some targets don't
> > exist
> > --------------------------------------------------
> > * Note those 8208 symbol was replaced with question mark.
> > * changing cmd's codepage to 65001 (see http://stackoverflow.com/a/388500/1032586 ) won't help
> > * launching cmd with '/u' switch (see http://stackoverflow.com/a/2462138/1032586 ) won't help
>
> The command line tools which ship with TSVN are in fact part of the
> subversion project. We only ship binaries because it is easy to build
> them along with TSVN. The code for the command line client is
> maintained by the subversion team, so you need to ask this question on
> the users mailing list at subversion.apache.org
>
> Simon
>
> --
> : ___
> : oo // \\ "De Chelonian Mobile"
> : (_,\/ \_/ \ TortoiseSVN
> : \ \_/_\_/> The coolest Interface to (Sub)Version Control
> : /_/ \_\ http://tortoisesvn.net

I've followed your suggestion and started this thread:
http://thread.gmane.org/gmane.comp.version-control.subversion.user/113541

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3057923

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-12 22:35:57 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.