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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 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:

    
  1. Re: [listchars] request (was: Bug in capitalize ... ?) ( Stuart Tremain 2003)
  2. Re: [listchars] request (was: Bug in capitalize ... ?) ( Kenneth Grome 2003)
  3. Re: Bug in capitalize ... ? ( Kenneth Grome 2003)
  4. Re: [listchars] request (was: Bug in capitalize ... ?) ( Brian Fries 2003)
  5. Re: [listchars] request (was: Bug in capitalize ... ?) ( Scott Anderson 2003)
  6. [listchars] request (was: Bug in capitalize ... ?) ( Brian Fries 2003)
  7. Re: Bug in capitalize ... ? ( Stuart Tremain 2003)
  8. Re: Bug in capitalize ... ? ( Kenneth Grome 2003)
  9. Re: Bug in capitalize ... ? ( Tim Robinson 2003)
  10. Re: Bug in capitalize ... ? ( Brian Fries 2003)
  11. Re: Bug in capitalize ... ? ( John Peacock 2003)
  12. Re: Bug in capitalize ... ? ( Glenn Busbin 2003)
  13. Bug in capitalize ... ? ( Kenneth Grome 2003)
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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 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:

Wanted: More Math Functions (or, Can You Solve This?) (1997) Now when I send TeaRoom Order fields it does not post in Invoice. (1997) is this how [break] works? (1998) webcat and OS 8 (1997) [WebDNA] OT survey .... (2012) Explorer 3.0/ Access Denied! (1997) RE: WebCat name recognition (was MacFinder -- a new WebDNAweb (1998) WebCatalog for guestbook ? (1997) update on include (1997) Ongoing group search problems ... (1997) WebCat2b15MacPlugin - [protect] (1997) Duplicates (1998) A quickie question (1997) Re:E-Mailer (WebCatb15acgiMac) (1997) Deleting duplicates from a db (2000) Fileinfo... (2000) WebCat chatroom (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) Closing Databases (1998) Nutscrape Doesn't Render Right (2002)