Re: Incorrect Value Display

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34623
interpreted = N
texte = Yes, I was sloppy about the [URL] issue; I'm sorry. But the fact of the matter is that " is the best way of displaying a character in HTML. In any decent HTML book, there will be a list of entity references (like < and >). If you [URL] once the data with 1" then when it is displayed by WebCat through the browser, it will come out looking like a double quote. I prefer this to the hex equivalent, since the entity reference is guaranteed (mostly) to work in any character set, whereas the hex is truly only valid for Latin-1 based character sets. I use entities extensively on our websites to encode foreign letters, like Þ and Ü.Sorry for the confusionJohn PeacockJohn Butler wrote: > > Is that right? > John, I believe you goofed here. > > the char wrapped in [URL] will produce '%22', NOT '"' > > Plus another reason (I believe) that you may have misled anyone reading this thread is > that when [url]ing strings as they get appended to a db via webcat it does convert the > works to hexideciaml equivilent unless you use 2 [url] wrappers. Webcat [unurl]s just > before actually appending. The first [url] is good to prevent the & char from breaking > the append or replace context, but then webcat has the courtesy to convert the string > back into what was intended to get into the db. > > right? > > -John > > John Peacock wrote: > > > 1) Don't store the inch symbol () in the database. You are asking for > > trouble. Use inch or in. instead. > > > > 2) If you have to use , use [URL][/url] around the input when storing > > it to the database. When it comes up, it will look like this instead: > > > > 1" x 1" > > > > which will display properly. If you are creating this database from > > scratch, you can simply code it that way. > > > > John Peacock > > > > Clint Davis wrote: > > > > > > I'll just bet that I'm missing something easy, BUT here it goes... > > > > > > When adding sizes to a db, I'm required to enter the inch symbol ( > > > ). The record goes into the db without any problems. The record also > > > displays without any problems. > > > > > > I have set up an admin page for this db. When a record is pulled up > > > to be modified, the inch symbol and everything thereafter have > > > disappeared from the form field. > > > > > > Example: > > > > > > The web browser is interpreting it as . > > > > > > How can I change the value to display properly while retaining the > > > inch mark in the db? > > > > > > _______________________ > > > > > > Clint Davis > > > Gray Loon Marketing Group > > > 812.422.9999 > > > > > > cdavis@grayloon.com > > > > > > ------------------------------------------------------------- > > > 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/ > > > > ------------------------------------------------------------- > > 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/ > > ------------------------------------------------------------- > 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/------------------------------------------------------------- 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:

    
  1. Re: Incorrect Value Display (John Peacock 2000)
  2. Re: Incorrect Value Display (John Butler 2000)
  3. Re: Incorrect Value Display (John Butler 2000)
  4. Re: Incorrect Value Display (Kenneth Grome 2000)
  5. Re: Incorrect Value Display (WebDNA Support 2000)
  6. Re: Incorrect Value Display (John Peacock 2000)
  7. Incorrect Value Display (Clint Davis 2000)
Yes, I was sloppy about the [url] issue; I'm sorry. But the fact of the matter is that " is the best way of displaying a character in HTML. In any decent HTML book, there will be a list of entity references (like < and >). If you [url] once the data with 1" then when it is displayed by WebCat through the browser, it will come out looking like a double quote. I prefer this to the hex equivalent, since the entity reference is guaranteed (mostly) to work in any character set, whereas the hex is truly only valid for Latin-1 based character sets. I use entities extensively on our websites to encode foreign letters, like Þ and Ü.Sorry for the confusionJohn PeacockJohn Butler wrote: > > Is that right? > John, I believe you goofed here. > > the char wrapped in [url] will produce '%22', NOT '"' > > Plus another reason (I believe) that you may have misled anyone reading this thread is > that when [url]ing strings as they get appended to a db via webcat it does convert the > works to hexideciaml equivilent unless you use 2 [url] wrappers. Webcat [unurl]s just > before actually appending. The first [url] is good to prevent the & char from breaking > the append or replace context, but then webcat has the courtesy to convert the string > back into what was intended to get into the db. > > right? > > -John > > John Peacock wrote: > > > 1) Don't store the inch symbol () in the database. You are asking for > > trouble. Use inch or in. instead. > > > > 2) If you have to use , use [url][/url] around the input when storing > > it to the database. When it comes up, it will look like this instead: > > > > 1" x 1" > > > > which will display properly. If you are creating this database from > > scratch, you can simply code it that way. > > > > John Peacock > > > > Clint Davis wrote: > > > > > > I'll just bet that I'm missing something easy, BUT here it goes... > > > > > > When adding sizes to a db, I'm required to enter the inch symbol ( > > > ). The record goes into the db without any problems. The record also > > > displays without any problems. > > > > > > I have set up an admin page for this db. When a record is pulled up > > > to be modified, the inch symbol and everything thereafter have > > > disappeared from the form field. > > > > > > Example: > > > > > > The web browser is interpreting it as . > > > > > > How can I change the value to display properly while retaining the > > > inch mark in the db? > > > > > > _______________________ > > > > > > Clint Davis > > > Gray Loon Marketing Group > > > 812.422.9999 > > > > > > cdavis@grayloon.com > > > > > > ------------------------------------------------------------- > > > 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/ > > > > ------------------------------------------------------------- > > 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/ > > ------------------------------------------------------------- > 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/------------------------------------------------------------- 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/ John Peacock

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:

ReturnRaw followup (1999) still facing truncated [texta] problem (2000) Adding headers to email (1997) ShowNext for method=POST (1997) charging? (2001) default error on NT? (1997) changing banners on a page without refresh? (2000) Re[2]: [foundItems] context question --returns some fields b (2000) why is this line in GeneralStore? (1998) &max= (2003) Re:WebCatalog f2 Installation (1997) WC2b12: Yes, Formulas.db is for real (1997) Simple way to create unique SKU (1997) shipcost (1997) WebCatalog can't find database (1997) Extended [ConvertChars] (1997) Tech question about web dna actions (1998) Test (2003) WebCatalog2 Feature Feedback (1996) OT - not enough humour on the list lately (2003)