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

Re: a bug of showing svn url and short url with easten language in explorer

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-05-26 18:56:01 CEST

Stan J wrote:
> I'm using TortoiseSVN 1.3.3, Build 6219 - 32 Bit on Windows2k professional
>
> I just found that the "SVN Url" and "SVN short Url" can't be shown
> correctly in explorer when there are eastern language in them.
>
> I attach 2 screen copies for reference.
> Look at the bug01.jpg first, please.
> The URL shown in "SVN Url" was cut off because the full url should be
> ended with something like "01_%XX%XX.../02%XX%XX...". Maybe the full
> url is too long to be shown.

That's not really a bug but intended. I first couldn't see it from your
screenshots, but after you sent me the entries files and I could test it
with your urls, I could see it:
the short url does not show the last part of the full url. The last part
is always the name of the file/folder it points to, and since the column
is shown right to the file/foldername anyway, there's no need to include
that part in the url - after all, it should be a *short* url :)

> But, the url shown in "SVN short Url" is rare. The path after the
> "trunk" was cut off.
>
> In Bug02.jpg I chose another folder under the same folder level.
> This time the url after the "trunk" can be shown. But what it shown is
> not correct. You can compare it with the folder names shown in address
> bar above.
> I guess the url shown in "SVN short Url" is encoded in UTF-8 so it
> can't be shown correctly.

It's not the UTF8 encoding that's the problem here. The short url is
shown unescaped. But the full url wasn't. The full url still is correct,
but not in a 'readable' way.
I've changed it so that the full url also is shown unescaped (rev 6610).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri May 26 18:57:01 2006

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

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