Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105780
interpreted = N
texte = --Apple-Mail-7-822499713 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Tom Thanks for looking. I really want to nail this. How are you seeing in firebug what encoding the page is? Please tell me where to find that. (I didn't see it.) When i go here: FF > View > Character Encoding then yes, it seems to say this page: http://www.sleeperhouse.com/admin/govTestDump/webdnaJStest_utf8.html is being served as ISO But/and if I use that same menu command to set the page to UTF.. then I STILL get the behavior mentioned. Anyway, trying what you suggest, I put this in the page: [SETMIMEHEADER name=Content-Type&value=text/html; charset=utf-8] ..and the page still serves up ISO. Did I use the correct syntax/ value(s) for that [SETMIMEHEADER]? (I never used that before, for setting any of the header data.) Or could you provide an example? thanks! -G On Sep 9, 2010, at 6:09 PM, Tom Duke wrote: > Govinda, > > Hi - first and biggest problem is that the page is not being served > as UTF-8 - it is being served as ISO-8859-1. You can use Firebug > in Firefox to see this. > > You should check if you are using [setmimeheader] to define the > charset as UTF-8, if you are and that is not working then Apache may > be serving it out using a default setting. In this case you could > try using a .htaccess file with the following line: > > AddCharset UTF-8 .html > > - Tom > > > > ------------ Govinda govinda.webdnatalk@gmail.com --Apple-Mail-7-822499713 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi = Tom

Thanks for looking.  I really want to nail = this.  How are you seeing in firebug what encoding the page is? =  Please tell me where to find that.  (I didn't see = it.)

When i go here:
FF > View = > Character Encoding
then yes, it seems to say this = page:
http://www.sleeperhouse.com/admin/govTestDump/webdnaJStest_utf8.html
is being served as ISO
But/and if I use that same = menu command to set the page to UTF..  then I STILL get the = behavior mentioned.

Anyway, trying what you = suggest, 
I put this in the = page:
[SETMIMEHEADER = name=3DContent-Type&value=3Dtext/html; = charset=3Dutf-8]
..and the page still serves up ISO. =  Did I use the correct syntax/value(s) for that [SETMIMEHEADER]? =  (I never used that before, for setting any of the header data.) =  Or could you provide an = example?

thanks!
-G

On Sep 9, 2010, at 6:09 PM, Tom Duke wrote:

Govinda,

Hi - first and biggest problem = is that the page is not being served as UTF-8  - it is being served = as ISO-8859-1.   You can use Firebug in Firefox to see = this.

You should check if you are using = [setmimeheader] to define the charset as UTF-8, if you are and that is = not working then Apache may be serving it out using a default setting. =   In this case you could try using a .htaccess file with the = following line:

   AddCharset = UTF-8 .html

- = Tom




=




= --Apple-Mail-7-822499713-- Associated Messages, from the most recent to the oldest:

    
  1. Re: -- SOLVED -- [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  2. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Christer Olsson 2010)
  3. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  4. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Tom Duke 2010)
  5. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  6. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Tom Duke 2010)
  7. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  8. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  9. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Tom Duke 2010)
  10. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  11. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  12. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Tom Duke 2010)
  13. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  14. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
  15. Re: [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Tom Duke 2010)
  16. [WebDNA] encoding with webdna/JS, in context of various file encodings/charsets (Govinda 2010)
--Apple-Mail-7-822499713 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Tom Thanks for looking. I really want to nail this. How are you seeing in firebug what encoding the page is? Please tell me where to find that. (I didn't see it.) When i go here: FF > View > Character Encoding then yes, it seems to say this page: http://www.sleeperhouse.com/admin/govTestDump/webdnaJStest_utf8.html is being served as ISO But/and if I use that same menu command to set the page to UTF.. then I STILL get the behavior mentioned. Anyway, trying what you suggest, I put this in the page: [SETMIMEHEADER name=Content-Type&value=text/html; charset=utf-8] ..and the page still serves up ISO. Did I use the correct syntax/ value(s) for that
[setmimeheader]? (I never used that before, for setting any of the header data.) Or could you provide an example? thanks! -G On Sep 9, 2010, at 6:09 PM, Tom Duke wrote: > Govinda, > > Hi - first and biggest problem is that the page is not being served > as UTF-8 - it is being served as ISO-8859-1. You can use Firebug > in Firefox to see this. > > You should check if you are using
[setmimeheader] to define the > charset as UTF-8, if you are and that is not working then Apache may > be serving it out using a default setting. In this case you could > try using a .htaccess file with the following line: > > AddCharset UTF-8 .html > > - Tom > > > > ------------ Govinda govinda.webdnatalk@gmail.com --Apple-Mail-7-822499713 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi = Tom

Thanks for looking.  I really want to nail = this.  How are you seeing in firebug what encoding the page is? =  Please tell me where to find that.  (I didn't see = it.)

When i go here:
FF > View = > Character Encoding
then yes, it seems to say this = page:
http://www.sleeperhouse.com/admin/govTestDump/webdnaJStest_utf8.html
is being served as ISO
But/and if I use that same = menu command to set the page to UTF..  then I STILL get the = behavior mentioned.

Anyway, trying what you = suggest, 
I put this in the = page:
[SETMIMEHEADER = name=3DContent-Type&value=3Dtext/html; = charset=3Dutf-8]
..and the page still serves up ISO. =  Did I use the correct syntax/value(s) for that [setmimeheader]? =  (I never used that before, for setting any of the header data.) =  Or could you provide an = example?

thanks!
-G

On Sep 9, 2010, at 6:09 PM, Tom Duke wrote:

Govinda,

Hi - first and biggest problem = is that the page is not being served as UTF-8  - it is being served = as ISO-8859-1.   You can use Firebug in Firefox to see = this.

You should check if you are using = [setmimeheader] to define the charset as UTF-8, if you are and that is = not working then Apache may be serving it out using a default setting. =   In this case you could try using a .htaccess file with the = following line:

   AddCharset = UTF-8 .html

- = Tom




=




= --Apple-Mail-7-822499713-- Govinda

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:

WebCatalog [FoundItems] Problem - LONG - (1997) [WebDNA] Auction (2009) Re:quit command on NT (1997) Cache headers - WebDNA 5 (2005) Forms & Tables (1998) emailer w/F2 (1997) URL too Long? (1997) Robert Minor duplicate mail (1997) help with duplicate records posted (1998) Physical Proximity searches (2000) Initiating NewCart (1997) shipcost (1997) Large databases in WebCat (1997) cookies (2004) 2nd WebCatalog2 Feature Request (1996) File Upload (1997) Using Plug-In while running 1.6.1 (1997) Type 11 errors setting up WebCAt 2 (1997) Why does 0 divided by 1=1? (2003) quit command on NT (1997)