Re: Custom Convertchars Database

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59431
interpreted = N
texte = Thanks Joe I am basically trying to change characters that seem to be cropping up when trying to write files. I seem to be getting difficulties with characters like smart quotes and elipsis but now I see smart quotes are already in the StandardConversions.db :-( I am a little confused as I added elipsis to the db and now I still seem to get an ' (in smart quote format) even though it is in the standard.db and elipsis still seems to be appearing (only now and again). I have now also had a problem arising from using a hyphon. Anyone have any suggestions? Regards Alan Joe D'Andrea wrote: >At 11:25 AM +0100 9/20/04, Alan White wrote: > > >>Hi Christophe >> >>So in that case would I be able to make a duplicate of the standard convertchars.db and then add to it? >> >> > >Yes. > > > > >>If so do you know where I can find it off hand? >> >> > >I suppose it depends on what platform and version you're using. For MacOS/WebSTAR, it's in /cgi-bin/WebCatalogEngine/StandardConversions.db > > > > >>Also would it be bad practice to nest convertchars so as to include the custom.db with the standard.db (hypothetical question) as an altrernative? >> >> > >You mean something like: > >[convertchars db=customConversion.db][convertchars]Your text goes here[/convertchars][/convertchars] ??? > >I suppose you could do it, but then you're making two passes through the text. So depending on how often you do this and how large the text to convert is you may have some processing time issues. > >It's been my experience that when I need a custom conversion, it's for some text or application specific needs and therefore doesn't need the standard conversions anyway. I find it easier to keep the custom conversions database separate and give it a name that implies it's function. > >~joe > > >------------------------------------------------------------- >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/ > > > ------------------------------------------------------------- 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: Custom Convertchars Database ( "Sal D'Anna" 2004)
  2. Re: Custom Convertchars Database ( Alan White 2004)
  3. Re: Custom Convertchars Database ( Chris 2004)
  4. Re: Custom Convertchars Database ( Joe D'Andrea 2004)
  5. Re: Custom Convertchars Database ( Alan White 2004)
  6. Re: Custom Convertchars Database ( Chris 2004)
  7. Custom Convertchars Database ( Alan White 2004)
Thanks Joe I am basically trying to change characters that seem to be cropping up when trying to write files. I seem to be getting difficulties with characters like smart quotes and elipsis but now I see smart quotes are already in the StandardConversions.db :-( I am a little confused as I added elipsis to the db and now I still seem to get an ' (in smart quote format) even though it is in the standard.db and elipsis still seems to be appearing (only now and again). I have now also had a problem arising from using a hyphon. Anyone have any suggestions? Regards Alan Joe D'Andrea wrote: >At 11:25 AM +0100 9/20/04, Alan White wrote: > > >>Hi Christophe >> >>So in that case would I be able to make a duplicate of the standard convertchars.db and then add to it? >> >> > >Yes. > > > > >>If so do you know where I can find it off hand? >> >> > >I suppose it depends on what platform and version you're using. For MacOS/WebSTAR, it's in /cgi-bin/WebCatalogEngine/StandardConversions.db > > > > >>Also would it be bad practice to nest convertchars so as to include the custom.db with the standard.db (hypothetical question) as an altrernative? >> >> > >You mean something like: > >[convertchars db=customConversion.db][convertchars]Your text goes here[/convertchars][/convertchars] ??? > >I suppose you could do it, but then you're making two passes through the text. So depending on how often you do this and how large the text to convert is you may have some processing time issues. > >It's been my experience that when I need a custom conversion, it's for some text or application specific needs and therefore doesn't need the standard conversions anyway. I find it easier to keep the custom conversions database separate and give it a name that implies it's function. > >~joe > > >------------------------------------------------------------- >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/ > > > ------------------------------------------------------------- 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/ Alan White

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:

Pull Down Search (2000) label?! (2005) Trouble with adding multiple items to cart (1999) WebCat2: Found Items syntax, etc. (1997) [WebDNA] Gratz with 6.1b1 (2008) Execute Applescript (1997) expired beta (1997) Webstar 1.3.1 PPC (1997) RE: E-mailer error codes (1997) Search Question (2003) database visibility (2000) AOL and referrers on target=_blank (2000) Catalogs and W* (1996) Bug or syntax error on my part? (1997) Multiple Merchant Accounts? (1997) carriage returns in data (1997) Best way to handle 404 errors with WebDNA and Web* V (2003) quantity minimum problem (1997) Finding max value for a field (1997) Problems getting parameters passed into email. (1997)