You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sean McBride <se...@rogue-research.com> on 2005/10/03 19:42:01 UTC
problems with non-ascii filenames: "Can't convert string from
'UTF-8' to native encoding"
Hello,
I have a file in my working copy named:
TMS Frame Assem... inst Final.eps
That non-ascii char (which I hope neither the list nor your mail client
messes up) is an elipsis (U+2026).
When I added the file to the repo, I get the message:
svnlook: Can't convert string from 'UTF-8' to native encoding:
svnlook: /tmp/svnlook.1/docs/Dev/Hybex Figs/TMS Frame Assem?\226?\128?
\166 inst Final.eps
I am using svn 1.2.3 both locally and on the server, on Mac OS 10.4.2.
I will rename the file, but I thought I'd point this out, as it seems to
be a bug with svn's non-ascii filename handling.
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng sean@rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: problems with non-ascii filenames: "Can't convert string from
'UTF-8' to native encoding"
Posted by Kalin KOZHUHAROV <ka...@thinrope.net>.
Sean McBride wrote:
> Hello,
>
> I have a file in my working copy named:
>
> TMS Frame Assem... inst Final.eps
>
> That non-ascii char (which I hope neither the list nor your mail client
> messes up) is an elipsis (U+2026).
Well, sending a mail in ISO-8859-1 was guaranteed to mess it as it did (transform it to three dots).
> When I added the file to the repo, I get the message:
>
> svnlook: Can't convert string from 'UTF-8' to native encoding:
> svnlook: /tmp/svnlook.1/docs/Dev/Hybex Figs/TMS Frame Assem?\226?\128?
> \166 inst Final.eps
What has svnlook do here? What exactly did you type?
> I am using svn 1.2.3 both locally and on the server, on Mac OS 10.4.2.
What is your locale in the client and the server (if latter matters)?
Waht is the filesystem used both on server and client. Can it handle UTF-8 filenames correctly?
I just tried to reproduce this in linux, but it worked as expected:
$ perl -CS -e 'print "touch \"TMS Frame Assem\x{2026} inst Final.eps\"\n";'
$ touch "TMS Frame Assem… inst Final.eps"
$ ll TMS\ Frame\ Assem…\ inst\ Final.eps
-rw-r--r-- 1 kalin users 0 Oct 4 11:51 TMS Frame Assem… inst Final.eps
$ svn add TMS\ Frame\ Assem…\ inst\ Final.eps
A TMS Frame Assem… inst Final.eps
$ svn ci TMS\ Frame\ Assem…\ inst\ Final.eps -m "testing utf8"
Adding TMS Frame Assem… inst Final.eps
Transmitting file data .
Committed revision 110.
Give us more details, and somebody might spot the problem.
Kalin.
--
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org