Oops. that didn't wor'k. I'm using a web interface and the 94's were translated to "^". I wa wrong on two counts: the encoding is decimal, not hexadecimal, and the encoding used is the standard one for numeric entities in XML/HTML (meaning, BTW, that the name of the call is less of a misnomer than I thought. What I was expecting is the familiar URL encoding where the space (decimal 32, hexadecimal 20) becomes %20 and so forth.
--- Greg Woodhouse <[EMAIL PROTECTED]> wrote: > Right after you tell me about the bitwise operators in MUMPS! > > Actually, though you can't do bit arithmetic in MUMPS, you do have > $A() > and $C() so its quite possible to perform ordinary arithmetic on > character values, so something like base64 shouldn't be too hard. > > Fileman even provides a basic hex encoding tool, unfortunately > misnamed > $$HTML^DILF. It works like this: > > >W $$HTML^DILF("This^is^a^delimited^string",1) > This^is^a^delimited^string > > (a second argument of -1 performs the inverse operation). > > I've used this call a number of times, particularly in input/output > transforms. > > --- Ruben Safir <[EMAIL PROTECTED]> wrote: > > > > > Hey - Then we can just lift the code and translate it! > > > > Ruben > > > > === > Gregory Woodhouse <[EMAIL PROTECTED]> > > "Design quality doesn't ensure success, but design failure can ensure > failure." > > --Kent Beck > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Hardhats-members mailing list > Hardhats-members@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hardhats-members > === Gregory Woodhouse <[EMAIL PROTECTED]> "Design quality doesn't ensure success, but design failure can ensure failure." --Kent Beck ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members