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:

    
  1. Re: Convertchars bug? (Kenneth Grome 2003)
  2. Re: Convertchars bug? (Brian Fries 2003)
  3. Re: Convertchars bug? (Kenneth Grome 2003)
  4. Re: Convertchars bug? (Kenneth Grome 2003)
  5. Convertchars bug? (Kenneth Grome 2003)
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:

setlineitem quantity to zero? (2000) Satistics (1999) WebCat2 - [format thousands] (1997) WebCat2 - Getting to the browser's username/password data (1997) Thanks Grant (1997) Date problems-more (1997) encrypt/decrypt (2001) F3 crashing server (1997) Web Catalog 2 demo (1997) Mondo amounts of Mail [long] (1999) RE: WebCat and image maps (1997) WebCat2 beta 11 - new prefs ... (1997) RE: Promise of future help (1998) WCS Newbie question (1997) Database Updates (1997) Server IP address (2004) Not really WebCat (1997) changing creator codes (2000) Special delete ... (1997) Its not that weird. (1997)