Re: remotely add + sign

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13310
interpreted = N
texte = In general you shouldn't have to worry about encoding unless you are hard coding your own input fields or building up your own strings. It, unfortunately, can be a really confusing issue. There is a pretty good explanation of when to encode and when not to in the user manual (I hope it is good). A real ROUGH rule of thumb is to always make sure the names and values of any parameters are encoded before they are sent to WebCatalog. This can be done automatically by the browser if people type into input fields, or it can be done in a WebDNA template using the [url] context. This rule of thumb isn't too clear as well...John.>>+ is a special character (browsers convert space characters to a plus sign) >>so it must be escaped with %2B (you can verify this with the following >>WebDNA: [url]+[/url]). Thanks. > >Thanks John: That worked beautifully! Any other special characters? >How about the ampersand (&) going through WITHOUT relying on webcat doing >any processing? > >Aloha, > >Olin > >..................................................................... >W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON > director, website creation >Honolulu San Francisco > 2800 woodlawn drive 222 sutter street olin@worldpoint.com > suite 170 sixth floor www.worldpoint.com > honolulu, hi 96822 san francisco, ca 94108 > > voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 >..................................................................... John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
In general you shouldn't have to worry about encoding unless you are hard coding your own input fields or building up your own strings. It, unfortunately, can be a really confusing issue. There is a pretty good explanation of when to encode and when not to in the user manual (I hope it is good). A real ROUGH rule of thumb is to always make sure the names and values of any parameters are encoded before they are sent to WebCatalog. This can be done automatically by the browser if people type into input fields, or it can be done in a WebDNA template using the [url] context. This rule of thumb isn't too clear as well...John.>>+ is a special character (browsers convert space characters to a plus sign) >>so it must be escaped with %2B (you can verify this with the following >>WebDNA: [url]+[/url]). Thanks. > >Thanks John: That worked beautifully! Any other special characters? >How about the ampersand (&) going through WITHOUT relying on webcat doing >any processing? > >Aloha, > >Olin > >..................................................................... >W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON > director, website creation >Honolulu San Francisco > 2800 woodlawn drive 222 sutter street olin@worldpoint.com > suite 170 sixth floor www.worldpoint.com > honolulu, hi 96822 san francisco, ca 94108 > > voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 >..................................................................... John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com John Hill

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] Stock prices in WebDNA? (2017) [getchars] questions (1997) Bit off subject -- Faxing orders (1997) Extended [ConvertChars] (1997) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) One more time (1997) Country & Ship-to address & other fields ? (1997) unsubscribe (2000) Advice (2003) lineitems are gone (1998) can WC render sites out? (1997) Sendmail doesn't (was Queertrons?) (1997) DON'T use old cart file! (1997) WebCatalog (1998) RE: Explorer oddities (1997) Separate SSL Server (1997) Bug Report, maybe (1997) Car Database (2002) [WebDNA] Debian Lighttpd WebDNA testbed server ... (2012) Queertrons? (1997)