Subject: Re: MIME encoding - DN [1]
vitus@wagner.rinet.ru (Victor Wagner) - 27 Mar 1999 - comp.lang.tcl
Frank J. Leitner <tcl@fjl.de> wrote: : Rob Convery wrote: :> :> I am developing a MIME compliant email program for X windows. I am :> having problems writing an encoder. Does anyone know / have a tcl script :> that will encode data in anything that can handle all unprintable :> character ( i.e. work with .jpg's etc) : I'd guess you are looking for a base-64 encoder. I've done one some : time ago (only found C implementations like mmencode, but needed : a pure TCL version). Works at least on Unix, TCL 8.0.X :-) : # base64_encode -- It is nice to have base64 encoder in pure tcl, but its a pity that Tk already have base64 encoder/decoder built-in (for photo images, which can use base64-encoded gifs as data). It is written on C and quite efficient, but, unfortunately, unaccessible from script level. -- -------------------------------------------------------- Victor Wagner @ home = vitus@wagner.rinet.ru I don't answer questions by private E-Mail from this address.
Last modified
1999-09-27
1999-09-27
(195.108.246.50)
Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated
