What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Grep to convert characters to html entities

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 67589
interpreted = N
texte = Hi all, I am trying to convert special characters to their hex html entities = before storing a string into a database. I have found a php grep string = which will do this but cannot get a working WebDNA equivalent:- php code : My best (non-working) attempt so far is : [grep search=3D([^\%09\%0A\%0D\%20-\%7F])&replace=3D%26#[url]\1[/url];]& = =E9 =A3 [/grep] But I can't seem to get the [url] code in the 'replace' to generate the = hex code for the character. Any grep experts got any ideas ? - Tom ------------------------------------------------------------- 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:

    
  1. Re: Grep to convert characters to html entities ( "Tom Duke" 2006)
  2. Re: Grep to convert characters to html entities ( devaulw@onebox.com 2006)
  3. Re: Grep to convert characters to html entities ( "Tom Duke" 2006)
  4. Re: Grep to convert characters to html entities ( Stuart Tremain 2006)
  5. Re: Grep to convert characters to html entities ( Stuart Tremain 2006)
  6. Re: Grep to convert characters to html entities ( "Tom Duke" 2006)
  7. Re: Grep to convert characters to html entities ( Stuart Tremain 2006)
  8. Grep to convert characters to html entities ( "Tom Duke" 2006)
Hi all, I am trying to convert special characters to their hex html entities = before storing a string into a database. I have found a php grep string = which will do this but cannot get a working WebDNA equivalent:- php code : My best (non-working) attempt so far is : [grep search=3D([^\%09\%0A\%0D\%20-\%7F])&replace=3D%26#[url]\1[/url];]& = =E9 =A3 [/grep] But I can't seem to get the [url] code in the 'replace' to generate the = hex code for the character. Any grep experts got any ideas ? - Tom ------------------------------------------------------------- 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/ "Tom Duke"

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:

Finer than a second. (2001) Need relative path explanation (1997) RE: Error: template (1997) Version f1 status (1997) Order not created error (1997) Question about links (1999) Serial Number Question (1997) ImageMagick on OSX (2003) Color options for items (1999) I forgot (1998) OT: Verbose messages - Web*4.2 (2000) Practice runs ? (1997) quantity minimum problem (1997) ShowNext context limited to 500 hits? (2000) WebCatalog for Postcards ? (1997) Pre-flight public flag (1997) hmmm (2006) Webcatalog 4.0 - When will we be able to beta test it? (2000) I am dumb. No see [variable] (2003) syntax question, not in online refernce (1997)