Cross platform problem with Convertchars

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46509
interpreted = N
texte = This is the first time I've been stumped in a long time so hopefully someone can help me: I'm trying to append some text from a textarea into a db. The problem: the text is usually copied from Word which means special characters (quote marks, apostrophes and dashes to name a few). We are using Webcat 4x on NT. I do not have any problems achieving this using a Mac browser (Netscape or IE). My problem is on the PC versions of IE. As soon as they come across a special character, it lops off everything after it. I have tried [convertchars] tags but they did not work. I set up my own convert db and called it by [convertchars db=myconvert.db], but neither the Mac nor the PC seem to acknowledge the db. I have tried to convert the characters to their html version (i.e. ’) and to another character such as turning all quotes into inch marks(). Nothing seems to work. Any ideas?textarea: append: [append db=../db/article.db]asku=[asku]&atitle=[convertchars db=../db/myconvert.db][atitle][/convertchars]&adate=[adate]&a=[convertchars db=../db/myconvert.db][a][/convertchars][/append] myconvert.db contains: from to ‘ ' “ ” ? -------------------------------------------------------------- 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: Cross platform problem with Convertchars (Terry Wilson 2002)
  2. Re: Cross platform problem with Convertchars (Donovan 2002)
  3. Cross platform problem with Convertchars (Eddie Z. 2002)
This is the first time I've been stumped in a long time so hopefully someone can help me: I'm trying to append some text from a textarea into a db. The problem: the text is usually copied from Word which means special characters (quote marks, apostrophes and dashes to name a few). We are using Webcat 4x on NT. I do not have any problems achieving this using a Mac browser (Netscape or IE). My problem is on the PC versions of IE. As soon as they come across a special character, it lops off everything after it. I have tried [convertchars] tags but they did not work. I set up my own convert db and called it by [convertchars db=myconvert.db], but neither the Mac nor the PC seem to acknowledge the db. I have tried to convert the characters to their html version (i.e. ’) and to another character such as turning all quotes into inch marks(). Nothing seems to work. Any ideas?textarea: append: [append db=../db/article.db]asku=[asku]&atitle=[convertchars db=../db/myconvert.db][atitle][/convertchars]&adate=[adate]&a=[convertchars db=../db/myconvert.db][a][/convertchars][/append] myconvert.db contains: from to ‘ ' “ ” ? -------------------------------------------------------------- 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/ Eddie Z.

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:

Not really WebCat (1997) Running _every_ page through WebCat ? (1997) blank page from template (1997) Bug when including a db file ... ? (2000) Not really WebCat- (1997) [tcp connect] (1998) system crashes, event log (1997) Fun with Dates - revisited (1997) carriage returns in data (1997) WebTen? (1997) WebMerchant 1.6 and SHTML (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) Item counting? (1998) Help name our technology! I found it (1997) Ampersand (1997) Format date.... (2003) Show if time tags (1997) WebCat2b15MacPlugin - showing [math] (1997) Running _every_ page through WebCat-error.html (1997) showif errors (1998)