Re: Quick templates bug

2001-08-21 Thread Marck D Pearlstone

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Leonid,

On 21 August 2001 at  15:16:35 +0600 (which was 10:16 where I live)
Leonid Ivonin wrote to [EMAIL PROTECTED] and made these
points:

LI --- cut ---
LI mailto:[EMAIL PROTECTED]?subject=This%20is%20a%20test
LI --- paste ---

LI however,  after  actuation of a template following string was added to
LI the text:

LI mailto:[EMAIL PROTECTED]?subject=This20is20a20test

LI That is - all characters of percents have disappeared. Similar,
LI it's a bug.

It's not a bug. '%' characters are specials, used to indicate the
start of a TB macro when used in a template. To indicate a literal
percent sign, they must be doubled:

mailto:[EMAIL PROTECTED]?subject=This%%20is%%20a%%20test

which works perfectly.

- --
Cheers -- .\\arck D. Pearlstone -- List moderator and fellow end user
 ~~~
\ BrainStorm - free thinking - www: http://www.brainstormsw.com /
 \ PGP Key ID: 0x929DCDA0  |  www: http://www.silverstones.com /

TB! v1.54 Beta/7-14F4B4B2 on Windows NT 5.0.2195 Service Pack 2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (MingW32)
Comment: GPG Sealed for freshness

iD8DBQE7giqUOeQkq5KdzaARAkqzAJ0QjB4pHRBupCwT2QUmNqxzgEMt1ACfTtqN
27o55AuAaoT6M5/EmORYFQA=
=jbhX
-END PGP SIGNATURE-

-- 
__
Archives   : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: Quick templates bug

2001-08-21 Thread Andreas Rumpenhorst

Hello Leonid,

in your mail dated Tuesday, August 21, 2001, 11:16,
you whispered something about Quick templates bug:

Try

 mailto:[EMAIL PROTECTED]?subject=This%%20is%%20a%%20test.

Should work.

-- 
Best regards,
 Andreas 

I'm using The Bat! 1.53o under Windows NT 5.0 Build 2195 Service Pack 2
with an AMD K6-III 400, 256MB SDRAM

-- 
__
Archives   : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]




Re: Quick templates bug

2001-08-21 Thread Peter Palmreuther

Hello Leonid,

On Tuesday, August 21, 2001 at 11:16:35 AM you wrote (at least in part):

LI Hi,

LI I have created quick template with string:

LI --- cut ---
LI mailto:[EMAIL PROTECTED]?subject=This%20is%20a%20test
LI --- paste ---

LI however,  after  actuation of a template following string was added to
LI the text:

LI mailto:[EMAIL PROTECTED]?subject=This20is20a20test

LI That   is - all characters of percents have disappeared. Similar, it's
LI a bug.

It's not a bug, it's a feature *ggg*
This is the same old game with special characters ...
'%' introduces a macro.
If you want to use the character '%' you have to use the macro '%%'
This way your string have to look like this:

mailto:[EMAIL PROTECTED]?subject=This%%20is%%20a%%20test

It's the same as in regular expresions: '\' introduces a special character
like '\n' tells: look for newline instead of look for '\' followed by 'n'
... to search for '\n' as string you have to use '\\n' ... in other words: you
must escape the escape character :-)

HTH Pit
-- 
Regards
Peter Palmreuthermailto:[EMAIL PROTECTED]
(The Bat! v1.54 Beta/7 on Windows NT 5.0 Build 2195 Service Pack 2)

Like many of the finer things in life, sex often comes with a side of fries.

-- 
__
Archives   : http://tbbeta.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]