Here's a start... makes for a nasty-looking URL unless you're a machine. ;-)
Mark Wheeler UnitedHealth Group /**/ address command url = 'http://somewhere.anyco.com/string_of_stuff_includ...@signs/more_stuff' 'PIPE(end ?)|', 'VAR URL |', 'SPECS FS / F1.3 1 WRITE F4-* 1 |', /* Split into two pieces */ 'T: TAKE 1 |', /* Use the 1st piece as-is */ 'F: FANINANY |', 'JOIN * \/\ |', /* Pull them back together */ 'VAR NEW_URL', /* Voila! */ '?', 'T: |', 'XLATE E2A |', /* Convert 2nd piece to ASCII */ 'SPECS 1-* C2X 1 |', /* Hex-ify */ 'DEBLOCK 2 |', /* Split by byte */ 'SPECS /%/ 1 1.2 2 |', /* Add a '%' prefix */ 'JOIN * |', /* Pull back together */ 'CHANGE \%2F\ \/\ |', /* Change %2F's back to slashes */ 'F:' say new_url > Date: Thu, 24 Jun 2010 11:47:41 -0400 > From: [email protected] > Subject: [CMS-PIPELINES] URL encoding? > To: [email protected] > > Might anyone have some ready made PIPE code to take EBCDIC 1047 text and > encode it for embedding in a URL per RFC 1738 (e.g. if I were to want to put > an email address inside a URL, I'd have to encode the at-sign as %40)? > -- > bc _________________________________________________________________ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
