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

RE: [Subclipse-users] %20 spaces replacement in Label Decoration

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-10-14 15:36:04 CEST

"MATHUS Baptiste" <mathus.b@mipih.fr> wrote on 10/13/2006 10:29:20 PM:

> I just tried it with the trunk of subclipse-ui, and it works fine (I'm
just
> processing a String with a standard JDK class, so I can't see a lot of
> possible side effects).

I actually committed something similar yesterday (so you must not have
been on a completely up to date trunk).

> Maybe this decoding could cause some weird problems with kanjis or
Cyrillic
> alphabet, but I would bet on not, 'cause the upper code is using the
> classical URLDecoder from java.net which has certainly already been
tested
> in these kind of cases...
>
> Moreover, as I commented it in the code. At least, even if the decoding
> fails, just keep silent and use the non decoded String, that's all.

I did not know about the URLDecoder class, so thanks. I changed the code
to use that instead of a custom routine.

> > > If anything to achieve this other than renaming our projects or wait
for
> > > the
> > > next release is already possible, please let me know :) (even if a
bit
> > > tweaky (= ).
> >
> > The current trunk code still works the same way, so there isn't
anything
> > you can do.
>
> Submitting a patch ? :-).

It should go without saying that a patch is the way to go. The question
was whether there was anything that could be done in the current code
release.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat Oct 14 15:36:15 2006

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

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