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

Wouter wouter.abraham at pi.be
Sun Jul 25 19:55:17 EDT 2004


> 	• 	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 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 "abcdefghijklmnopqrstuvwxyz1234567890+/=" then 
return false

May be there are other legal characters to test for, please add them 
too.

Greetings,
WA


More information about the use-livecode mailing list