Re: Bug in capitalize ... ?
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 53489
interpreted = N
texte = I think that Brian has hit on the idea of delimiters as this discussion=20=seems to come up from time to time.With delimiters we could overcome the problems of O'Connor and=20McDonnald etcOn Saturday, October 18, 2003, at 02:02 AM, Brian Fries wrote:> HTML entities won't help Ken's problem...>> [capitalize]peña[/capitalize]>> shows up as Pe=D1A, as the "n" in ñ gets capitalized, resulting=20=> in Ñ>> The fix would be for WebDNA to support a delimiters param to=20> [capitalize].>> In the meantime, you could play with listwords, specifying the=20> delimiter, then capitalizing only the first character.>> - brian>> On Friday, October 17, 2003, at 07:04 AM, John Peacock wrote:>>> Kenneth Grome wrote:>>>>> Why does webdna make the letter 'a' uppercase when I put a=20>>> [capitalize] context around this word?>>> Pe=F1A>>> The =F1 is definitely not the last letter in the word, which means=20=>>> [capitalize] should make it lowercase, not uppercase.>>>> Letters in Latin-1 are limited to a-zA-Z. "=F1" is an extended ASCII=20=>> character in the Latin-1 character set, and hence fouls up the logic=20=>> of [capitalize]. It is a bug only in the sense that it doesn't do=20>> what _you_ expected it to do. It is not a bug in the sense that=20>> anyone who expects extended ASCII characters to be handled=20>> consistently by all browsers is going to be massively mistaken.>>>> Don't use extended ASCII; always use HTML entities (in this case=20>> ñ).>>>> John>>>> --=20>> John Peacock>>> -- Brian Fries, BrainScan Software --=20> http://www.brainscansoftware.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=20> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I think that Brian has hit on the idea of delimiters as this discussion=20=seems to come up from time to time.With delimiters we could overcome the problems of O'Connor and=20McDonnald etcOn Saturday, October 18, 2003, at 02:02 AM, Brian Fries wrote:> HTML entities won't help Ken's problem...>> [capitalize]peña[/capitalize]>> shows up as Pe=D1A, as the "n" in ñ gets capitalized, resulting=20=> in Ñ>> The fix would be for WebDNA to support a delimiters param to=20> [capitalize].>> In the meantime, you could play with listwords, specifying the=20> delimiter, then capitalizing only the first character.>> - brian>> On Friday, October 17, 2003, at 07:04 AM, John Peacock wrote:>>> Kenneth Grome wrote:>>>>> Why does webdna make the letter 'a' uppercase when I put a=20>>> [capitalize] context around this word?>>> Pe=F1A>>> The =F1 is definitely not the last letter in the word, which means=20=>>> [capitalize] should make it lowercase, not uppercase.>>>> Letters in Latin-1 are limited to a-zA-Z. "=F1" is an extended ASCII=20=>> character in the Latin-1 character set, and hence fouls up the logic=20=>> of [capitalize]. It is a bug only in the sense that it doesn't do=20>> what _you_ expected it to do. It is not a bug in the sense that=20>> anyone who expects extended ASCII characters to be handled=20>> consistently by all browsers is going to be massively mistaken.>>>> Don't use extended ASCII; always use HTML entities (in this case=20>> ñ).>>>> John>>>> --=20>> John Peacock>>> -- Brian Fries, BrainScan Software --=20> http://www.brainscansoftware.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=20> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/
Stuart Tremain
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:
I'm having trouble using [url][interpret][math] together in lookup (1997)
Sendmail and textarea (1998)
WebCat2b12 forgets serial # (1997)
Apple event reply error (-1) (1997)
Automatic POST arg sending? (1998)
session handling (2004)
Nested tags count question (1997)
[WebDNA] WebDNA AJAX_Fileuploader (2013)
Affiliate Marketing Question #2 (1998)
Emailer (1997)
japanese characters (1997)
Limits (2000)
[WebDNA] WebDNA restart script (2015)
passing variables - problem (1997)
MacAuthorize order data fields WAS:How To question... (1997)
WCS Newbie question (1997)
Problem displaying search result (1997)
Emailer setup (1997)
Emailer (1998)
default value from Lookup (was Grant, please help me) (1997)