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

Re: Unicode file names on Windows

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Sat, 2 Aug 2008 20:02:07 -0500

On Aug 2, 2008, at 05:17, Johannes Rössel wrote:

> as it happens I currently have a repository with a few files having
> Unicode file names. The subversion server seems to handle it
> without problems, storing the filenames apparently as UTF-8, the
> client is another thing, though. It not only has Unicode output
> issues (bug 1773 in a slightly different manifestation) but it also
> seems to convert file name parameters into some oddball 8-bit
> encoding I haven't yet figured out.
>
> What all this comes down to is the following fun:
>
> W:\>svn ci -m "minor test change" "Flag of Červený Újezd.svg"
> svn: Commit failed (details follow):
> svn: 'W:\Flag of Cervenì éjezd.svg' is not under version control
>
> W:\>svn st
> M Flag of Cervenì éjezd.svg
>
> (The correct file name is in the first command line at the end)
>
> Any ideas how to work around that (I tried using svn add *, but
> even _that_ misses some files, for whichever reason; most are added
> that way, though)? I could use TortoiseSVN for that but for things
> I mostly do in Far it's a bit cumbersome to open Explorer just to
> add a file or so. And Unicode support in the Windows console is by
> now probably well over a decade old, so I hope it's not too much to
> ask.

I believe you need to set the LANG (and possibly APR_ICONV_PATH)
environment variables properly so that Subversion knows how to
convert between UTF-8 and whatever your terminal uses.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-03 03:03:00 CEST

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

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