Re: Field names beginning with Reg..

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42952
interpreted = N
texte = I'm sure you're right that it's the browser. I'm using IE 5.1 for Mac. The proof of the pudding is that it's still writing the fields to the db correctly... bit of a worry though..... -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837> From: Michael Davis > Reply-To: (WebCatalog Talk) > Date: Tue, 27 Aug 2002 23:54:31 > To: (WebCatalog Talk) > Subject: Re: Field names beginning with Reg.. > > I ran into this a while back with §, as in §ion=[blah]. But it > wasn't a webcat error, it was a Windows IE error. This only happened > on Windows IE browsers. So, with that narrowing it down, I was able to > determine what was happening. Windows IE does not (as it should) > require the ; semi-colon termination of named character encodings. So > where other browsers would properly show §ion, Win IE would > incorrectly decode the § part and the result was §ion. Make sure > you are not just seeing an illusion when viewing your source code in > Win IE while trying to debug this. > > More: I have just confirmed that this is now a bug in IE 5.2 on OS X. > This used _not_ to be a problem on Mac. Haven't checked it in a while > so maybe it was the jump to OS X. But I have confirmed that putting > [interpret]®istrantidtype[/interpret] in a template served via OS > 9.2/WebDNA 4.5 does not interpret the ® into the registration > symbol. But the browser (IE 5.2 OSX) does interpret it as > Žistrantidtype. This confirms that it's the browser, not WebDNA, at > least in this small example. > > Glen: This technique is actually quite useful in certain circumstances > (using [interpret] this way, that is). The first place I saw it used > this way was long ago in the DBEditor that is posted to the WebCatalog > examples FTP site. Basically, you loop through the db fields > dynamically for use in your append or replace context instead of > writing out the code longhand. Very handy for databases with many > fields. > > Mike > > On Tuesday, August 27, 2002, at 09:24 PM, Tim Robinson wrote: > >> Thanks for your reply Glenn. >> >> Here's the [append]: >> >> [append db=data/registration.db]SKU=[cart]&[ListFields >> db=data/registration.db][FieldName]=[Interpret][[FieldName]][/ >> Interpret]&[/L >> istFields][/append] >> >> adding [url] does not work: >> >> &[ListFields >> db=data/registration.db][[url]FieldName[/ >> url]]=[Interpret][[[url]FieldName[/ >> url]]][/Interpret]&[/ListFields] >> >> It returns (literally) [FieldName]=[actual field name] >> >> Tim > > > ------------------------------------------------------------- > 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: Field names beginning with Reg.. (dale's stuff 2002)
  2. Re: Field names beginning with Reg.. (Rob Marquardt 2002)
  3. Re: Field names beginning with Reg.. (Glenn Busbin 2002)
  4. Re: Field names beginning with Reg.. (Michael Davis 2002)
  5. Re: Field names beginning with Reg.. (Tim Robinson 2002)
  6. Re: Field names beginning with Reg.. (Michael Davis 2002)
  7. Re: Field names beginning with Reg.. (Inkblot Media 2002)
  8. Re: Field names beginning with Reg.. (Inkblot Media 2002)
  9. Re: Field names beginning with Reg.. (Glenn Busbin 2002)
  10. Re: Field names beginning with Reg.. (Tim Robinson 2002)
  11. Re: Field names beginning with Reg.. (Glenn Busbin 2002)
  12. Field names beginning with Reg.. (Tim Robinson 2002)
I'm sure you're right that it's the browser. I'm using IE 5.1 for Mac. The proof of the pudding is that it's still writing the fields to the db correctly... bit of a worry though..... -- Tim Robinson IDFK Web Developments tim@idfk.com.au 114a/40 Yeo Street Neutral Bay 2089 Australia Phone +612 9908 2134 Fax +612 9908 4837> From: Michael Davis > Reply-To: (WebCatalog Talk) > Date: Tue, 27 Aug 2002 23:54:31 > To: (WebCatalog Talk) > Subject: Re: Field names beginning with Reg.. > > I ran into this a while back with §, as in §ion=[blah]. But it > wasn't a webcat error, it was a Windows IE error. This only happened > on Windows IE browsers. So, with that narrowing it down, I was able to > determine what was happening. Windows IE does not (as it should) > require the ; semi-colon termination of named character encodings. So > where other browsers would properly show §ion, Win IE would > incorrectly decode the § part and the result was §ion. Make sure > you are not just seeing an illusion when viewing your source code in > Win IE while trying to debug this. > > More: I have just confirmed that this is now a bug in IE 5.2 on OS X. > This used _not_ to be a problem on Mac. Haven't checked it in a while > so maybe it was the jump to OS X. But I have confirmed that putting > [interpret]®istrantidtype[/interpret] in a template served via OS > 9.2/WebDNA 4.5 does not interpret the ® into the registration > symbol. But the browser (IE 5.2 OSX) does interpret it as > Žistrantidtype. This confirms that it's the browser, not WebDNA, at > least in this small example. > > Glen: This technique is actually quite useful in certain circumstances > (using [interpret] this way, that is). The first place I saw it used > this way was long ago in the DBEditor that is posted to the WebCatalog > examples FTP site. Basically, you loop through the db fields > dynamically for use in your append or replace context instead of > writing out the code longhand. Very handy for databases with many > fields. > > Mike > > On Tuesday, August 27, 2002, at 09:24 PM, Tim Robinson wrote: > >> Thanks for your reply Glenn. >> >> Here's the [append]: >> >> [append db=data/registration.db]SKU=[cart]&[ListFields >> db=data/registration.db][FieldName]=[interpret][[FieldName]][/ >> Interpret]&[/L >> istFields][/append] >> >> adding [url] does not work: >> >> &[ListFields >> db=data/registration.db][[url]FieldName[/ >> url]]=[interpret][[[url]FieldName[/ >> url]]][/Interpret]&[/ListFields] >> >> It returns (literally) [FieldName]=[actual field name] >> >> Tim > > > ------------------------------------------------------------- > 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/ Tim Robinson

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 DATES (1997) GoLive CyberStudio 1.0.1 (1997) Can't load Admin pages (2000) Hiding the URL(was Cart ID Duplication) (2001) multi-paragraph fields (1997) Re2: Calculating multiple shipping... (1997) [WebDNA] WebDNA on Mac/intel and Apache 2 (2008) all records returned. (1997) Calculating Age from DB fields (2003) Funny Submissions From a Form Page (1999) vs (1997) WAP (2000) WC2b12: Yes, Formulas.db is for real (1997) Roundup function? (1997) generator prob (2001) Pithy questions on webcommerce & siteedit (1997) Typhoon 4 -- yes or no? (2000) WebCat and image maps (1997) WebDNA quitting (2008) Webcatalog serving binary data (2000)