Re: Updating fields from different platforms
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19013
interpreted = N
texte = >>>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.>>>>This is IMO the best approach. Assume everyone is using ISO-8859-1, which>>is the most used charset on the net.>>>>[SETMIMEHEADER name=Content-Type&value=text/html; charset=iso-8859-1]>>[SETMIMEHEADER name=charset&value=iso-8859-1]>>>>Use them both for max compability.>>I agree with you, I think this is the best setup so far. The only thing>that bothers me about it is having an all Mac shop and having to use a PC>format... :-)You can of course store them as Mac format by using [CONVERTCHARS]. It'sonly a matter of what's more convinient. Our policy is to store dbs onlymaintained via a webinterface as ISO-8859-1 and dbs maintained by uploadedfiles as the character set used by the client.>>But. Force the use of it by WebCat [SETMIMEHEADER] tag instead of the>>
tag, it's cleaner and you avoid the page being loaded twice.>>Thanks a million! You just told me the misterious reason why some of>my pages always load twice! I will definately use [SETMIMEHEADER] from>now on.:-) ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Associated Messages, from the most recent to the oldest:
>>>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.>>>>This is IMO the best approach. Assume everyone is using ISO-8859-1, which>>is the most used charset on the net.>>>>[SETMIMEHEADER name=Content-Type&value=text/html; charset=iso-8859-1]>>[SETMIMEHEADER name=charset&value=iso-8859-1]>>>>Use them both for max compability.>>I agree with you, I think this is the best setup so far. The only thing>that bothers me about it is having an all Mac shop and having to use a PC>format... :-)You can of course store them as Mac format by using
[convertchars]. It'sonly a matter of what's more convinient. Our policy is to store dbs onlymaintained via a webinterface as ISO-8859-1 and dbs maintained by uploadedfiles as the character set used by the client.>>But. Force the use of it by WebCat
[setmimeheader] tag instead of the>>
tag, it's cleaner and you avoid the page being loaded twice.>>Thanks a million! You just told me the misterious reason why some of>my pages always load twice! I will definately use
[setmimeheader] from>now on.:-) ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se
Christer Olsson
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:
How to get shownext to just shownext once (1997)
Payment calculator ?? (2000)
Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997)
Updating a database once per day - An example (1998)
Sort Order on a page search (1997)
Webcat 4.0.x and apache 2.x (2002)
Extended [ConvertChars] (1997)
New WebDNA Example from Olin -- (1998)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
retain raw [cart] submitted value (2004)
Unable to open the demo file (1998)
SiteEdit Pro Update Announcement (1997)
[ShowNext] feature in 2.0 (1997)
Mime-Version in email header (1997)
WebCat2 - storing unformatted date data? (1997)
This list needs a digest: rant, rave... (1997)
[WebDNA] limit found per row (2011)
[searchString] (1997)
Navigator 4.01 (1997)
Secure server question (1997)