Re: [WebDNA] grep character problem
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 109216
interpreted = N
texte = That's exactly the kind of thing I need but I have your code in place =now and it is still there, do you know anyway I can tell what the =character is?Cheers=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DSteve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dhttp://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DOn 15 Jun 2012, at 17:05, Tom Duke wrote:> Steve,>=20> I have dealt with a similar problem using a different HTML editor =(Xstandard). I use the following table to clean data before being =added to a db.>=20> [!]>=20>=20> ------------------------------------> ### Clear out dodgy characters from being added to dbs ###> =09> %0D%0A - CR/LF - carriage return/linefeed> %09 - horizontal (i.e. standard) tab> %C2%A0 - non-breaking space - not removed for now>=20> [/!][table name=3DxstandardConversions&fields=3Dfrom,to]> %0D=09> %0A=09> %09=09> [/table]>=20>=20> There's a tab character after each hex above. Wrap your field in a =[convertchars table=3DxstandardConversions][value][/convertchars] and =hopefully that will solve your problem.>=20> - Tom>=20>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us
Associated Messages, from the most recent to the oldest:
That's exactly the kind of thing I need but I have your code in place =now and it is still there, do you know anyway I can tell what the =character is?Cheers=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DSteve Craig - Asylum Interactive LtdTel +44 1330 860550 Fax +44 1330 860880=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dhttp://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DOn 15 Jun 2012, at 17:05, Tom Duke wrote:> Steve,>=20> I have dealt with a similar problem using a different HTML editor =(Xstandard). I use the following table to clean data before being =added to a db.>=20>
[!]>=20>=20> ------------------------------------> ### Clear out dodgy characters from being added to dbs ###> =09> %0D%0A - CR/LF - carriage return/linefeed> %09 - horizontal (i.e. standard) tab> %C2%A0 - non-breaking space - not removed for now>=20> [/!][table name=3DxstandardConversions&fields=3Dfrom,to]> %0D=09> %0A=09> %09=09> [/table]>=20>=20> There's a tab character after each hex above. Wrap your field in a =[convertchars table=3DxstandardConversions][value][/convertchars] and =hopefully that will solve your problem.>=20> - Tom>=20>=20> --------------------------------------------------------- This message =is sent to you because you are subscribed to the mailing list . To =unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us
Steve Craig
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:
off topic - dna snipets (1997)
Keeping the cart alive through multiple add commands (2000)
Multiple catalog databases and showcart (1997)
How many lookups does it take ... (2003)
sort problems....bug or brain fart? (1997)
Dynamic PDFs? (2002)
WebMerchant 1.6 and https (1997)
Cybersource Java class file (2000)
RE: [sendmail]- bcc? (1998)
duplicate cart numbers (2002)
Some Questions (1997)
Execute Applescript (1997)
when will the list move? (nm) (2000)
Resume Catalog ? (1997)
WC2b15 File Corruption (1997)
Many $WebCat.exe processes (1998)
Limit to Field Length in DB (1998)
Encrypt/decrypt bug in 3.0.5b12 (1999)
PCS Frames (1997)
Is Web Merchant Necessary? (2000)