Cleaning up user input - fractions
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59915
interpreted = N
texte = Just had a Windows user enter fractions (1/2 and 1/4) in a form, and when it wrote to the DB, they entered as upper ascii chars. It's messing things up and I want to convert them to normal 1/2 style fractions next time it happens. Using BBEdit to Zap Gremlins and Replace with Code, I can see how they ended up in the DB (\0xBA and \0x03A9); is this indicative of what they entered in the first place? The user reports that she entered ALT + 0188, and ALT +0189. How would I enter this in a convertchars DB? As I am on Macintosh, I can't test it.Thanks,Terry-------------------------------------------------------------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:
Just had a Windows user enter fractions (1/2 and 1/4) in a form, and when it wrote to the DB, they entered as upper ascii chars. It's messing things up and I want to convert them to normal 1/2 style fractions next time it happens. Using BBEdit to Zap Gremlins and Replace with Code, I can see how they ended up in the DB (\0xBA and \0x03A9); is this indicative of what they entered in the first place? The user reports that she entered ALT + 0188, and ALT +0189. How would I enter this in a convertchars DB? As I am on Macintosh, I can't test it.Thanks,Terry-------------------------------------------------------------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/
Terry Wilson
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:
Last freebie (1998)
TCP Connect (1999)
Creating main- and sub-category search (1997)
Looking up two prices in database? (1997)
Internet Advancement (2003)
Rhapsody? (1997)
Include a big block of text (1997)
Configuration for WebDNA (2006)
SHOWIF/HIDEIF empty fields (2005)
Bad creator codes which cause access denied error message (1997)
shipping code (1998)
A quickie question (1997)
Which [index]? (1997)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
Again: tcpconnect problem with authorize.net (2003)
Backwards list behavior ... (1997)
faxing orders (2000)
Emailer (1997)
WEBDNA chat (2002)
What week is first? (1998)