Re: Textarea

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18265
interpreted = N
texte = Hi Steve,No one from PCS ever got back to me to tell me whether or not the bug I reported was actually a bug -- but I know for a *fact* that I could not use the standardconversions.db and the default [convertchars] context the was it was supposed to be used (as described in the docs), and that's why I suggested creating a specialconversions.db with only the two entries below.By the way, this is all there is to my specialconversions.db file:fromto %0B
%0D
Just replace with a real tab character, and with a real carriage return before trying to use it ... :)Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net>Does anybody have any advice for creating back-end administrative controls >for editing textareas in a database. > >Preserving Soft returns, Hard returns, Carriage returns, and Line Feeds can >be hellish! > >I am reposting (below) Ken Grome's post of 4/24/98 which relates to this topic: >Is there really a bug involving the standardconversions.db? >Master Ken, is ther eany chance you could share your SPECIALconversions.db >with the rest of us? > >Steve > > > >----------------------------- >>>How can I collect information from a textarea field on a form page, and >>>then immediately display that information *WITH* the formatting intact -- >>>on the very next page? Is there any way to do this WITHOUT using
>>>tags?>>>>Huh? What formatting are you talking about? Just linebreaks or what?>>Yes, just carriage returns typed into the textarea field, that's all.>>>If so, just use [CONVERTCHARS].>>Well, [convertchars] is the first thing I tried -- and it does *not* work.>>There's apparently something screwed up in the standardconversions.db -- or>in the code that does the actual conversions. The reason I say this is>because even though I use the original standardconversions.db on my system>without any changes whatsoever, [convertchars] changes 1 to Ç ... and 2 to>? ... and who knows how many other characters it's changing *improperly*>that I have not been lucky enough to notice?>>Because of this apparent bug, I cannot simply put %0D into the>standardconversions.db, so I had to create a  SPECIALconversions.db and put>only a couple of conversions into it:>>from to>%0B 
>%0D
> >At least this seems to work for my particular needs. But it certainly does >not solve the problem WebCat is having with the standardconversions.db >changing 1's and 2's to Ç's and ?'s when I really do not think it should be >doing that. Can someone check into this and tell me if I've discovered a >bug? > > >Also, on a related topic, does anyone know where I can get a list of all >those escaped-ASCII characters such as Carriage Return (%0D), Soft-Return >(%0B), Tab (%09), etc. ? > >Are these by chance the same characters shown in Tex-Edit as beginning with >$ instead of % ... or are those something else entirely? The reason I'm not >sure about this is because the ones in Tex-Edit all begin with $, while the >few which are shown in the HTML documentation (and included in the >stabdardconversions.db) begin with % instead. > >Please can someone clarify this for me? > >Sincerely, >Ken Grome > >----------------------------------------------------------------------- >Steve Rosenbaum Pop Art L.L.C. http://pop-art.com >steve@pop-art.com Networks / Databases / Multimedia > >7000 SW Hampton St., Suite 124, tel: (503) 968.5957 >Tigard, OR 97223-8361 fax: (503) 620.8487 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA]