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

UTF and command line

From: Igor <i3v_at_mail.ru>
Date: Sat, 8 Jun 2013 21:18:38 -0700 (PDT)

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

Thank you for your attention!

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-06-09 12:43:28 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.