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:

RE: Explorer oddities (1997) I'm new be kind (1997) Error: could not create email file in (2003) WC2b15 File Corruption (1997) [WebDNA] Accepting Payments on Site (2013) text size limitation (1997) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Further tests with the infamous shipCost (1997) [input] context (1999) WebCat2b13 Command Reference Doc error (1997) Make sure I understand this??? (1997) what run level should S90WebCatalog be at? (2003) Help! WebCat2 bug (1997) Using Plug-In while running 1.6.1 (1997) 403 Forbidden Errors (2003) Weird bug, or is there something amiss? (1997) all records returned. (1997) Email troubles (2005) Running _every_ page through WebCat-error.html (1997) Shopping Cart Page (1997)