Re: [Gambas-user] URL encoding "%20"

2008-12-31 Thread nando
@lists.sourceforge.net Sent: Wed, 31 Dec 2008 09:14:21 -0800 (PST) Subject: Re: [Gambas-user] URL encoding "%20" > @Rob: Yes you are right. > @Benoit: Thanks > @Doriano: http://www.blooberry.com/indexdot/html/topics/urlencoding.htm > @Nando: All the samples does not only %20 ;) > >

Re: [Gambas-user] URL encoding "%20"

2008-12-31 Thread werner 007
@Rob: Yes you are right. @Benoit: Thanks @Doriano: http://www.blooberry.com/indexdot/html/topics/urlencoding.htm @Nando: All the samples does not only %20 ;) Wish a good New Year to all Regards, Werner(007) -- View this message in context: http://www.nabble.com/URL-encoding-%22-20%22-tp212166

Re: [Gambas-user] URL encoding "%20"

2008-12-31 Thread Benoit Minisini
On mercredi 31 décembre 2008, Doriano Blengino wrote: > Rob ha scritto: > > On Tuesday 30 December 2008 19:44, werner 007 wrote: > >> First when i read your solution i was thinking "damn, i was lazy to make > >> a good job". > >> But then, we are not looking for single chars but for three at once.

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread Doriano Blengino
Rob ha scritto: > On Tuesday 30 December 2008 19:44, werner 007 wrote: > >> First when i read your solution i was thinking "damn, i was lazy to make >> a good job". >> But then, we are not looking for single chars but for three at once. >> > > I misunderstood you, then. URL encoding is rep

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread Rob
On Tuesday 30 December 2008 19:44, werner 007 wrote: > First when i read your solution i was thinking "damn, i was lazy to make > a good job". > But then, we are not looking for single chars but for three at once. I misunderstood you, then. URL encoding is replacing non-printable characters with

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread nando
, p + 3) 'recombine result ENDIF UNTIL p=0 RETURN s END -- Original Message --- From: werner 007 To: gambas-user@lists.sourceforge.net Sent: Tue, 30 Dec 2008 16:44:05 -0800 (PST) Subject: Re: [Gambas-user] URL encoding "%20" > Rob Kudla wrote: > > >

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread werner 007
Rob Kudla wrote: > > On Tuesday 30 December 2008 08:03, werner 007 wrote: >> Ok, i got the answer by my self. >> The chars of not printable and non-ascii are represented as Hex. >> To convert it back: > > That'll work, but it'll also run Replace() 160 times each time you do a > conversion. I'

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread Rob
On Tuesday 30 December 2008 08:03, werner 007 wrote: > Ok, i got the answer by my self. > The chars of not printable and non-ascii are represented as Hex. > To convert it back: That'll work, but it'll also run Replace() 160 times each time you do a conversion. I'd do something like this: functi

Re: [Gambas-user] URL encoding "%20"

2008-12-30 Thread werner 007
werner 007 wrote: > > Does anybody know a easy way to convert url encoded strings (like "%20") > to normal characters? > > Btw: Nice would be Conv$("%20", url, utf8). > > > Regards, werner(007) > Ok, i got the answer by my self. The chars of not printable and non-ascii are represented as H

[Gambas-user] URL encoding "%20"

2008-12-30 Thread werner 007
Does anybody know a easy way to convert url encoded strings (like "%20") to normal characters? Btw: Nice would be Conv$("%20", url, utf8). Regards, werner(007) -- View this message in context: http://www.nabble.com/URL-encoding-%22-20%22-tp21216641p21216641.html Sent from the gambas-user mail