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

Re: Unicode characters in filenames on windows

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Tue, 2 Jul 2013 17:02:50 +0300

Варфоломеев Игорь wrote on Tue, Jul 02, 2013 at 16:53:09 +0400:
> Hi all,
>
> I've already posted this issue report here
> ( http://thread.gmane.org/gmane.comp.version-control.subversion.user/113541 ). And I think this response
> ( http://thread.gmane.org/gmane.comp.version-control.subversion.user/113542 ) might be considered
> as "issue confirmation". No one else responded in ~3 weeks, so, I thought I should re-post it here.
>

No. You could have re-posted to users@, but to dev@ is inappropriate.
See http://svn.haxx.se/users/archive-2008-12/0288.shtml

> 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/questions/10764920/utf-16-on-cmd-exe/10765469#10765469 ).
> 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

That works fine for me on Linux, provided that I use a UTF-8 locale. I
would guess something similar is the problem on Windows. Please ask the
TortoiseSVN guys: http://tortoisesvn.net/support.html
Received on 2013-07-02 16:03:27 CEST

This is an archived mail posted to the Subversion Dev mailing list.