Re: [WebDNA] strange characters in db

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102185
interpreted = N
texte = Just a guess, but by URLing an endash it gets converted to % and some letters and digits. When you look at DB in bbedit, or search db and display on screen what you see is not what webdna has stored TC On 17 Mar 2009, at 17:40, Marc Thompson wrote: > Can anyone tell me why the following code allows a character like > the EM > DASH (<80><94>) to be written to one of the form _fields? > > Beware word wrap, this should all be on one line: > [replace db=my.db&eqSKUdatarq=[SKU]][formvariables > name=_&exact=F][getchars start=2][name][/getchars]=[Grep > search=[^,-.%@_A-Za-z0-9/ > ]&replace=][url][value][/url][/Grep]&[/formvariables][/replace] > > Marc > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] strange characters in db (Marc Thompson 2009)
  2. Re: [WebDNA] strange characters in db (Marc Thompson 2009)
  3. Re: [WebDNA] strange characters in db (Toby Cox 2009)
  4. [WebDNA] strange characters in db (Marc Thompson 2009)
Just a guess, but by URLing an endash it gets converted to % and some letters and digits. When you look at DB in bbedit, or search db and display on screen what you see is not what webdna has stored TC On 17 Mar 2009, at 17:40, Marc Thompson wrote: > Can anyone tell me why the following code allows a character like > the EM > DASH (<80><94>) to be written to one of the form _fields? > > Beware word wrap, this should all be on one line: > [replace db=my.db&eqSKUdatarq=[SKU]][formvariables > name=_&exact=F][getchars start=2][name][/getchars]=[Grep > search=[^,-.%@_A-Za-z0-9/ > ]&replace=][url][value][/url][/Grep]&[/formvariables][/replace] > > Marc > > -- > ------------------------------------------- > Marc Thompson > Software Engineer > Office of Information Technology > University of Utah > 801.585.9264 > marc.thompson@utah.edu > ------------------------------------------- Toby Cox

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:

mapping fields between databases (2001) problem (1998) WebCat and PIXO (2000) RAM variables (1997) OT - How to pay commissions to non US affiliates? (2000) random in arizona (2003) notification solutions (1997) formula inside database to calculate weights (1997) New Command prefs ... (1997) Related database (2000) best way to test for the existence of a parameter in a url (2003) Max Record length restated as maybe bug (1997) Time to opensource? was [SMSI] WebDNA is too good to (2006) how is this possible (2000) Date Formats (1997) Re[3]: 2nd WebCatalog2 Feature Request (1996) FORMS: Returning a specific page (1997) WebCatalog for guestbook ? (1997) WC2.0 Memory Requirements (1997) Apache 2.0 question (AddModule mod_webcatalog.cpp) (2008)