> 2011/4/28 Caveat <gam...@caveat.demon.co.uk>:
> > xml.Decode...pfft!  Funny, I never would have thought to look in gb.xml
> > for a base64 decoder!
> 
> true ... i've found it in the past when i've made a little program to
> extract mail attachement in old mail directories
> 

Maybe encoding & decoding BASE64 should be standard in Gambas? I can do the 
same remark for URL encoding & decoding functions located in gb.web at the 
moment.

I just have to find good names for the functions...

        ToBase64$()
        ToUrl$()
        FromBase64$()
        FromUrl$() 

Or two generic functions like Conv$(). Encode() and Decode() with a code 
argument: gb.Base64, gb.URI...

They won't match Shell$(), Quote$(), Unquote$(), Html$(). But maybe it's not 
that important.

If people are aware of other useful encoding/decoding functions, they should 
tell now.

-- 
Benoît Minisini

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to