Re: Convertchars bug?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50670
interpreted = N
texte = I agree the ConvertChars behavior is rather obscure when working with spaces and plusses... What works for me is to use the URL'ed value in the from field for these:from to%20 %2B +As for case, I believe that ConvertChars is always case-sensitive - a is a different entity than A.- brianOn Friday, May 23, 2003, at 11:16 PM, Kenneth Grome wrote:>>> I created a special convertchars database that has the original >>> characters in the 'from' field and their html entities in the 'to' >>> field, but webdna seems to have a problem with one of the character >>> conversions ...>>>>>> Instead of replacing a blank space with like it should, webdna >>> replaces blank spaces with + which is the html entity for a >>> plus sign.>>>> And when the character to be converted is the plus sign, it does not >> get converted to the html entity for a plus sign, instead it does not >> get converted at all -- as if the plus sign was not enclosed within a >> convertchars context.>>> And this is not documented but it is very important to my use of > convertchars in this situation:>> Does AllCase=T work when using convertchars like it does when using > it in a search context?>> Or is the convertchars context simply not capable of converting > uppercase and lowercase characters to different resulting values -- > such as when converting to their HTML character entities?> -- >> Sincerely,> Kenneth Grome-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I agree the ConvertChars behavior is rather obscure when working with spaces and plusses... What works for me is to use the URL'ed value in the from field for these:from to%20 %2B +As for case, I believe that ConvertChars is always case-sensitive - a is a different entity than A.- brianOn Friday, May 23, 2003, at 11:16 PM, Kenneth Grome wrote:>>> I created a special convertchars database that has the original >>> characters in the 'from' field and their html entities in the 'to' >>> field, but webdna seems to have a problem with one of the character >>> conversions ...>>>>>> Instead of replacing a blank space with like it should, webdna >>> replaces blank spaces with + which is the html entity for a >>> plus sign.>>>> And when the character to be converted is the plus sign, it does not >> get converted to the html entity for a plus sign, instead it does not >> get converted at all -- as if the plus sign was not enclosed within a >> convertchars context.>>> And this is not documented but it is very important to my use of > convertchars in this situation:>> Does AllCase=T work when using convertchars like it does when using > it in a search context?>> Or is the convertchars context simply not capable of converting > uppercase and lowercase characters to different resulting values -- > such as when converting to their HTML character entities?> -- >> Sincerely,> Kenneth Grome-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Brian Fries
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:
Math (1997)
Where's Cart Created ? (1997)
[search] in formulas.db (1997)
WebMerchant 1.6 and SHTML (1997)
docs for WebCatalog2 (1997)
&max= (2003)
Sticky .inc file! (2008)
New Command prefs ... (1997)
Virtual Domains (1998)
taxRate is fine but taxTotal isn't (1997)
Summing fields (1997)
WebCat2b15MacPlugin - showing [math] (1997)
WebCat2b12plugin - [search] is broken ... not! (1997)
Word Breaks (1998)
Protect and .TMPL versus .TPL (2002)
WebCatalog Hosting (1996)
Expiration of Carts (1997)
[WebDNA] remove html comments (2009)
truncating email part II (1997)
A little syntax help (1997)