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:

Grouping items in results page (2000) question: webmerchant connection (1997) [WebDNA] [AddFields] Restrictions (2012) RE: Upload (1998) WebCatalog sales (1997) Trigger: Only on Saturday (2001) [WebDNA] [OT] BBEdit Glossary (2012) Repeating Fields (1997) emailer (1997) TCPconnect issue (2000) eCommerce software pricing (1998) version 2 for NT (1997) Search in 2 or more catalogs (1997) redirect with frames (1997) Not really WebCat (1997) Clean Code: Rules for inserting keyboard returns? (1997) WebDNA and FTP (2003) External Images (1998) Re2: frames & carts (1997) New Site Announcement (1998)