Re: UN-WANTED character conversion

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23743
interpreted = N
texte = >Hey guys, > >I have constructed a template that creates a html page with the results of a >form, everything works well excepts one thing, I have a field for the BODY >of the page and want to be able to put any text or html in this, but when I >put in, lets say tables, all of the html commands < > get converted to ><, >,and ". I figured this could be happening from the standard >conversions database so I went and made my own db to try to convert them >back to valid html characters, I'm sure this is something simple that I'm >just missing, after all it is Monday...heh heh , anyone have any clues?Once the values are in the db, you cannot use convertchars to change them back, because convertchars has the sad limitation of being incapable of changing more than one character at a time -- it cannot find a match string of two or more characters and change them ... :(Instead of using convertchars while appending values to the db, try appending the field values by wrapping [url] around them:[append]field1=[url]field1value[/url][/append]Sincerely, Ken Grome WebDNA Consultant Associated Messages, from the most recent to the oldest:

    
  1. RE: UN-WANTED character conversion (Talklist 1999)
  2. UN-WANTED character conversion (Talklist 1999)
  3. Re: UN-WANTED character conversion (Kenneth Grome 1999)
  4. Re: UN-WANTED character conversion (PCS Technical Support 1999)
>Hey guys, > >I have constructed a template that creates a html page with the results of a >form, everything works well excepts one thing, I have a field for the BODY >of the page and want to be able to put any text or html in this, but when I >put in, lets say tables, all of the html commands < > get converted to ><, >,and ". I figured this could be happening from the standard >conversions database so I went and made my own db to try to convert them >back to valid html characters, I'm sure this is something simple that I'm >just missing, after all it is Monday...heh heh , anyone have any clues?Once the values are in the db, you cannot use convertchars to change them back, because convertchars has the sad limitation of being incapable of changing more than one character at a time -- it cannot find a match string of two or more characters and change them ... :(Instead of using convertchars while appending values to the db, try appending the field values by wrapping [url] around them:[append]field1=[url]field1value[/url][/append]Sincerely, Ken Grome WebDNA Consultant Kenneth Grome

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:

Help with database strategy (1998) TCPsend with POST? (1999) [WebDNA] WebDNA Upgrade Question - eCommerce (2009) $Replace with [founditems] (1997) Truncated value after space - refresh my memory.... (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) WebDNA 5.0 Questions (2003) Bug Report, maybe (1997) ampersand XHTML in search (2006) Dynamic Image Generation (2000) Which GUI HTML editors work with WC ? (1997) Date Formats (1997) random prob (2003) OFF-TOPIC: No messages since Saturday (1998) Using Cookie for client specific info? (1997) [WebDNA] Server load (2008) WebCat2b15MacPlugin - showing [math] (1997) [format xs] freeze (1997) Duplicates (1998) WebCatalog Technical Reference (1997)