Re: MIME(?)-decoding in QT
Hello dAniel, on Mon, 23. Feb 2004 at 03:44:33 +0100 I wrote: d>> Installed Python now, but having a last issue.. the %Py macro seems to d>> make up a new line. d> It's print, as I just read in the tutorial. Adding a trailing comma d> should avoid a newline.. says the tutorial.. But in fact its %Trim() around the %Py() macro.. :) -- shinE! http://www.thequod.de ICQ#152282665 GnuPG/PGP key: http://thequod.de/danielhahler.asc Using The Bat! v2.04.4 on Windows XP 5.1 Build 2600 Service Pack 1 with POPFile 0.20.1 and avast Jan2004 (4.1.342). http://www.silverstones.com/thebat/TBUDLInfo.html
Re: MIME(?)-decoding in QT
Hello dAniel, on Fri, 20. Feb 2004 at 23:52:31 +0100 I wrote: d> Installed Python now, but having a last issue.. the %Py macro seems to d> make up a new line. It's print, as I just read in the tutorial. Adding a trailing comma should avoid a newline.. says the tutorial.. JFI. -- shinE! http://www.thequod.de ICQ#152282665 GnuPG/PGP key: http://thequod.de/danielhahler.asc Using The Bat! v2.04.4 on Windows XP 5.1 Build 2600 Service Pack 1 with POPFile 0.20.1 and avast Jan2004 (4.1.342). http://www.silverstones.com/thebat/TBUDLInfo.html
Re: MIME(?)-decoding in QT
Hello Alexander, On Friday, February 20, 2004 at 7:16:29 PM you [AL] wrote (at least in part): dh>> do you mean %StrReplace? AL> Yes OK, I thought you maybe meant a "more serious" solution, not only directed to replace '%20' :-) dh>> That would probably be bad to setup.. AL> Not in case of one replacement, full URL-encode will _be_ big headache without a regexp engine capable of executing code in replacement code plus 'hex()' and 'chr()' functions: definitely yes. ,- [ ] | $name = '[EMAIL PROTECTED]'; | $name =~ s/%([0-9a-fA-F]{2})/chr(hex($1))/ge; `- Does the trick quite good ... sadly yet only in Perl :-/ -- Regards Peter Palmreuther (The Bat! v2.04.4 on Windows XP 5.1 Build 2600 Service Pack 1) "Reliable software must kill people reliably." -- Andy Mickel http://www.silverstones.com/thebat/TBUDLInfo.html