Re: Updating fields from different platforms

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 18977
interpreted = N
texte = >If you are lucky there are no double (input-)values for Mac and PC and you >can use the same conversion db. >If you get double values, ask the client for the user agent and send the >text through the appropriate conversion dbActually there are several characters that doubleup as you say. But that's no problem, I have already created a MactoPC.db and a PCtoMac.db.>Example fot testing: > > [browsername] >
> [showif [browsername]^mac] > This is a Macintosh > [/showif] > [showif [browsername]^win] > This is a Windows PC > [/showif] > [showif [browsername]^linux] > This is Linux > [/showif] > [showif [browsername]^irix] > This is an SGI machine > [/showif] > [showif [browsername]^sun] > This is a SUN > [/showif]This is the big question, is the code above reliable? Will it catch correctly old browsers like Netscape 1 and MSExplorer 1?Another solution I am trying now is to asume everyone is a PC, and let the Mac try to be compatible. I have placed: on all my pages, and I have stored the data in the databases as PC native accented characters.On Explorer 2 running on Windows NT, it works, since everything defaults to PC stuff.On Netscape 4 on the Mac, it also works. Aparently Netscape 4 is smart enough to do the conversions automatically.The question is now to try other older Mac browsers to see if they all handle the charset=iso-8859-1 correctly. Also, what about unix, sun?Does anyone have any experience in these matters? Thanks for your help, Charles _______________________________________________________________ Institut Balear de Comunicacions, S.L. Gremio Tejedores 22, 1 07009 Palma de Mallorca, Spain _____________________________________________ Tel: +34 971.43.12.77 Fax: +34 971.43.08.18 E-mail: ckefauver@ibacom.es URL: http://www.ibacom.es/ _____________________________________________ Public PGP signature (Clave publica PGP): http://www.ibacom.es/PGP/kefauver.txt _______________________________________________________________ Associated Messages, from the most recent to the oldest:

    
  1. Re: Updating fields from different platforms (Charles Kefauver 1998)
  2. Re: Updating fields from different platforms (Christer Olsson 1998)
  3. Re: Updating fields from different platforms (Charles Kefauver 1998)
  4. Re: Updating fields from different platforms (Charles Kefauver 1998)
  5. Re: Updating fields from different platforms (Peter Ostry 1998)
  6. Re: Updating fields from different platforms (Christer Olsson 1998)
  7. Re: Updating fields from different platforms (Charles Kefauver 1998)
  8. Re: Updating fields from different platforms (Peter Ostry 1998)
  9. Re: Updating fields from different platforms (Charles Kefauver 1998)
  10. Re: Updating fields from different platforms (Peter Ostry 1998)
  11. Updating fields from different platforms (Charles Kefauver 1998)
>If you are lucky there are no double (input-)values for Mac and PC and you >can use the same conversion db. >If you get double values, ask the client for the user agent and send the >text through the appropriate conversion dbActually there are several characters that doubleup as you say. But that's no problem, I have already created a MactoPC.db and a PCtoMac.db.>Example fot testing: > > [browsername] >
> [showif [browsername]^mac] > This is a Macintosh > [/showif] > [showif [browsername]^win] > This is a Windows PC > [/showif] > [showif [browsername]^linux] > This is Linux > [/showif] > [showif [browsername]^irix] > This is an SGI machine > [/showif] > [showif [browsername]^sun] > This is a SUN > [/showif]This is the big question, is the code above reliable? Will it catch correctly old browsers like Netscape 1 and MSExplorer 1?Another solution I am trying now is to asume everyone is a PC, and let the Mac try to be compatible. I have placed: on all my pages, and I have stored the data in the databases as PC native accented characters.On Explorer 2 running on Windows NT, it works, since everything defaults to PC stuff.On Netscape 4 on the Mac, it also works. Aparently Netscape 4 is smart enough to do the conversions automatically.The question is now to try other older Mac browsers to see if they all handle the charset=iso-8859-1 correctly. Also, what about unix, sun?Does anyone have any experience in these matters? Thanks for your help, Charles _______________________________________________________________ Institut Balear de Comunicacions, S.L. Gremio Tejedores 22, 1 07009 Palma de Mallorca, Spain _____________________________________________ Tel: +34 971.43.12.77 Fax: +34 971.43.08.18 E-mail: ckefauver@ibacom.es URL: http://www.ibacom.es/ _____________________________________________ Public PGP signature (Clave publica PGP): http://www.ibacom.es/PGP/kefauver.txt _______________________________________________________________ Charles Kefauver

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:

Memory Error message (1998) WebCat2b12plugin - [search] is broken ... not! (1997) Search in 2 or more catalogs (1997) Re:WebCat 3.0 Serial Numbers (1999) Register First (2000) .hdr files (2004) PIXO support (1997) [protect admin] (1997) Re:Merging databases (1997) Resume Catalog ? (1997) no global [username] or [password] displayed ... (1997) subtotal (2000) Correct Linux Version for WC 6 (2006) Webcat bannersleuth Qs (2001) WebCat with WebTen (1998) Frames and WebCat (1997) Help formatting search results w/ table (1997) Shipping still a problem!! (1998) Cannot calculate prices (1997) Frames and WebCat (1997)