Re: covertchars db to keep CR's, but not new ones
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 44216
interpreted = N
texte = WebDNA has standard tools for dealing with text area contents, once you figure out what tools to use where.Writing to the DB:&dbField=[url][submittedtext][/url]Editing the field in a text area:
Displaying the field as HTML text:[convertchars][dbField][/convertchars]The [url] converts odd characters (returns, tabs, ampersands) into escape sequences to avoid screwing up the WebDNA syntax. WebDNA automatically converts returns into %0B characters when writing to the DB so they aren't interpreted as record terminators.The [input] converts odd characters (returns, quotes) into html tokens which areThe [convertchars] without specifying a DB uses StandardConversions.db, which includes records for turning returns (which are %0B in the DB) into
s and dealing with other problematic characters as well.- brianAt 4:49 PM 10/17/02, Gary Krockover wrote:>Hi all,>>I have a simple db for a convertchars on textareas:>>Add.db>>from to>%0D
>>>Works on initial data entry, but each time the record is updated and>submitted, it adds additional
tags. What would be the proper database>to use for this instance?>>Thanks!>GK-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
WebDNA has standard tools for dealing with text area contents, once you figure out what tools to use where.Writing to the DB:&dbField=[url][submittedtext][/url]Editing the field in a text area:Displaying the field as HTML text:[convertchars][dbField][/convertchars]The [url] converts odd characters (returns, tabs, ampersands) into escape sequences to avoid screwing up the WebDNA syntax. WebDNA automatically converts returns into %0B characters when writing to the DB so they aren't interpreted as record terminators.The [input] converts odd characters (returns, quotes) into html tokens which areThe [convertchars] without specifying a DB uses StandardConversions.db, which includes records for turning returns (which are %0B in the DB) into
s and dealing with other problematic characters as well.- brianAt 4:49 PM 10/17/02, Gary Krockover wrote:>Hi all,>>I have a simple db for a convertchars on textareas:>>Add.db>>from to>%0D
>>>Works on initial data entry, but each time the record is updated and>submitted, it adds additional
tags. What would be the proper database>to use for this instance?>>Thanks!>GK-------------------------------------------------------------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://search.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:
Re:2nd WebCatalog2 Feature Request (1996)
[protect admin] (1997)
WebCatalog Upgrade Pricing? (1997)
Search as error page (2002)
Append is limiting the Number of Characters written to db (fwd) (1998)
Country & Ship-to address & other fields ? (1997)
Speaking of... (1999)
select menus & database design (1998)
Migrating to NT (1997)
PSC recommends what date format yr 2000??? (1997)
shipcost (1997)
emailer (1997)
2.0 Info (1997)
[OT] FTP client (2003)
Date search bug (1997)
Looking for 5 to 12 shops with 3 URLs & statements (1997)
Multiple prices (1997)
Robots fill event log (1997)
WebCatalog Features (1997)
service stop and restart (1997)