Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Wouter
• From: Mark Brownell • Subject: Re: anyone here got a function to find is a string is base64 encoded? • Date: Sun, 25 Jul 2004 18:02:48 -0700 -- snip I use base64 for making text and binary data websafe. Knowing what my file format is makes it easy by file types and file extensions

Re: why I needed this (was Re: anyone here got a function to find is a string is base64 encoded?)

2004-07-25 Thread Dar Scott
On Jul 25, 2004, at 6:56 PM, Andre Garzia wrote: thats on the client side, like you are the one making the request. You call the xmlrpcRequest function with an arbitrary numbers of parameters. They will all be probed and an XML-RPC Method Request XML will be assembled. Integers will be put insid

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Mark Brownell
On Sunday, July 25, 2004, at 05:45 PM, Wouter wrote: Hi Mark, That's right. But checking if each char i of the string is in "abcdefghijklmnopqrstuvwxyz1234567890+/=" will take care of spaces. I hope or am I wrong? Wouter I use base64 for making text and binary data websafe. Knowing what my file

why I needed this (was Re: anyone here got a function to find is a string is base64 encoded?)

2004-07-25 Thread Andre Garzia
On Jul 25, 2004, at 9:36 PM, Dar Scott wrote: Is this safe? Dar Dar, thats on the client side, like you are the one making the request. You call the xmlrpcRequest function with an arbitrary numbers of parameters. They will all be probed and an XML-RPC Method Request XML will be assembled. Intege

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Wouter
• From: Dar Scott • Subject: Re: anyone here got a function to find is a string is base64 encoded? • Date: Sun, 25 Jul 2004 17:36:17 -0700 On Jul 25, 2004, at 3:05 PM, Andre Garzia wrote: thank you very much for all your replies! Noew thanks to this function, we can probe a string to

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Wouter
• From: Mark Brownell • Subject: Re: anyone here got a function to find is a string is base64 encoded? • Date: Sun, 25 Jul 2004 17:22:26 -0700 -- snip if i is not in "abcdefghijklmnopqrstuvwxyz1234567890+/=" then return false May be there are other legal characters to test f

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Dar Scott
On Jul 25, 2004, at 3:05 PM, Andre Garzia wrote: thank you very much for all your replies! Noew thanks to this function, we can probe a string to see if it is Base64 encoded and add it as a item in the XML-RPC Lib! Is this safe? Dar ___ use-revolution

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Mark Brownell
On Sunday, July 25, 2004, at 04:55 PM, Wouter wrote: Just tested on some large base64Encoded imagedata in the raw source of a mail a "+" should be added to the reference string: if i is not in "abcdefghijklmnopqrstuvwxyz1234567890/=" then return false should become if i is not in "ab

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Wouter
• From: Mark Brownell • Subject: Re: anyone here got a function to find is a string is base64 encoded? • Date: Sun, 25 Jul 2004 14:37:15 -0700 On Sunday, July 25, 2004, at 01:19 PM, Wouter wrote: Sorry, Greetings, WA Wouter gets himself... grin! Mark :-)) Some addition. Just tested on

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Mark Brownell
On Sunday, July 25, 2004, at 01:19 PM, Wouter wrote: Sorry, Greetings, WA Wouter gets himself... grin! Mark ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Mark Brownell
On Sunday, July 25, 2004, at 12:14 PM, Wouter wrote: But if false it still could be a base64Encodeded string. And if true it could still be a 1 word unencoded string. But hey this is a quick starter. Greetings, WA Wouter gets me again. Thanks Wouter. I'm sure glad I don't need this testing. Mark _

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Wouter
• From: Andre Garzia • Subject: Re: anyone here got a function to find is a string is base64 encoded? • Date: Sun, 25 Jul 2004 14:05:55 -0700 Wouter and All, thank you very much for all your replies! Noew thanks to this function, we can probe a string to see if it is Base64 encoded and

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Wouter
• From: Mark Brownell • Subject: Re: anyone here got a function to find is a string is base64 encoded? • Date: Sun, 25 Jul 2004 09:16:19 -0700 On Sunday, July 25, 2004, at 08:59 AM, [EMAIL PROTECTED] wrote: What about... try put base64decode(tStr) into tStr catch errnum return

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Mark Brownell
On Sunday, July 25, 2004, at 08:59 AM, [EMAIL PROTECTED] wrote: What about... try put base64decode(tStr) into tStr catch errnum return "" end try return tStr /H That's a good idea. What about this for a string test? Base64 is 72 characters per line. I suppose you could test for the number of

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread FlexibleLearning
What about... try put base64decode(tStr) into tStr catch errnum return "" end try return tStr /H ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-25 Thread Mark Brownell
on 7/24/04 8:06 PM, Mark Brownell at [EMAIL PROTECTED] wrote: > on 7/24/04 12:21 PM, Andre Garzia at [EMAIL PROTECTED] wrote: > >> Hi Folks, >> >> I am trying to determine if a string is base64 encoded, I don't know in >> advance if it will be or not, but I need to find out so that I can >> deco

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-24 Thread Dar Scott
On Jul 24, 2004, at 9:06 PM, Mark Brownell wrote: Is there any chance that a known word or number is present in the string? You can just go ahead and use base64Decode on it to see if offSet() finds that known word or number before deciding to use the test decode or not. Yeah, I agree. You need

Re: anyone here got a function to find is a string is base64 encoded?

2004-07-24 Thread Mark Brownell
on 7/24/04 12:21 PM, Andre Garzia at [EMAIL PROTECTED] wrote: > Hi Folks, > > I am trying to determine if a string is base64 encoded, I don't know in > advance if it will be or not, but I need to find out so that I can > decode as needed. Any hint? > > cheers > andre Hi Andre, Is there any cha

anyone here got a function to find is a string is base64 encoded?

2004-07-24 Thread Andre Garzia
Hi Folks, I am trying to determine if a string is base64 encoded, I don't know in advance if it will be or not, but I need to find out so that I can decode as needed. Any hint? cheers andre -- Andre Alves Garzia  2004  BRAZIL http://studio.soapdog.org __