Re: Bug in capitalize ... ?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53441
interpreted = N
texte = Kenneth Grome wrote:> Why does webdna make the letter 'a' uppercase when I put a [capitalize] > context around this word?> > PeņA> > The ņ is definitely not the last letter in the word, which means > [capitalize] should make it lowercase, not uppercase.> Letters in Latin-1 are limited to a-zA-Z. "ņ" is an extended ASCII character in the Latin-1 character set, and hence fouls up the logic of [capitalize]. It is a bug only in the sense that it doesn't do what _you_ expected it to do. It is not a bug in the sense that anyone who expects extended ASCII characters to be handled consistently by all browsers is going to be massively mistaken.Don't use extended ASCII; always use HTML entities (in this case ñ).John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Kenneth Grome wrote:> Why does webdna make the letter 'a' uppercase when I put a [capitalize] > context around this word?> > PeņA> > The ņ is definitely not the last letter in the word, which means > [capitalize] should make it lowercase, not uppercase.> Letters in Latin-1 are limited to a-zA-Z. "ņ" is an extended ASCII character in the Latin-1 character set, and hence fouls up the logic of [capitalize]. It is a bug only in the sense that it doesn't do what _you_ expected it to do. It is not a bug in the sense that anyone who expects extended ASCII characters to be handled consistently by all browsers is going to be massively mistaken.Don't use extended ASCII; always use HTML entities (in this case ñ).John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------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://webdna.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:
dynamic giffing. (2000)
[WriteFile] problems (1997)
How to search for fields with 10 or more characters? (2004)
E-Mailer (WebCatb15acgiMac) (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
[WebDNA] Only one request at a time? (2011)
Welcome Back (was) Newbie Question (1999)
Generating Report Totals (1997)
PCS Frames (1997)
Interfacing WebMerchant to www.fedex.com (1997)
Stopping bad HTML propagation ? (1997)
Feedback Please (2003)
Further on formula.db failure to calculate shipCost (1997)
displaying New products (using [date]) (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
webdelivery.html and webna (1997)
Access Denied! But why? (1997)
Less than or equal to........ (1997)
Searching for all records (1998)
WebCatalog can't find database (1997)