Re: Cleaning up user input - fractions
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59916
interpreted = N
texte = One of my favorite little tools for this kind of stuff:http://www.robietherobot.com/calc.htmGKAt 08:51 PM 11/5/2004, you wrote:>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:
One of my favorite little tools for this kind of stuff:http://www.robietherobot.com/calc.htmGKAt 08:51 PM 11/5/2004, you wrote:>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/
Gary Krockover
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 name our technology! (1997)
Help name our technology! (1997)
getchars broken? (1997)
More DateMath problems (1997)
Sort Order on a page search (1997)
Re:I've had it! (1999)
Re1000002: Setting up shop (1997)
creating a ShipCosts database (1997)
[searchString] (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
[ShowIf] and empty fields (1997)
Chat Area (2000)
Pull Down Search (2000)
Database Options (1997)
Size images (2002)
Simple way to create unique SKU (1997)
WCf2 and nested tags (1997)
[format xs] freeze (1997)
Multiple catalog databases and showcart (1997)
What is WebDNA (1997)