numero = 34623
interpreted = N
texte = Yes, I was sloppy about the [URL] issue; I'm sorry. But the fact of thematter 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 characterset, whereas the hex is truly only valid for Latin-1 based character sets. Iuse 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:
Yes, I was sloppy about the [url] issue; I'm sorry. But the fact of thematter 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 characterset, whereas the hex is truly only valid for Latin-1 based character sets. Iuse 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
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...