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:

Listing parameters passed into a [function] (2003) 2nd WebCatalog2 Feature Request (1996) [SearchString] problem with [search] context (1997) multiple credit card merchant accounts/processors (1997) 'does not contain' operator needed ... (1997) [OT] Templates (For Sale) sites (2004) problems with 2 tags shakur (1997) Root Folder problems cont. (1998) Forumulas.db & Variables (2002) [WebDNA] Quick Date Question (2008) taxTotal (1997) SKU generator? (1998) RE: creating writefile data from a nested search (1997) More news on 5.0 (2003) [WebDNA] Comparisons in "if" and "case" statements (2010) RAM variables (1997) Optional new-style syntax for WebCatalog 4.0 (2000) Order not created error (1997) getting images' width/height (1998) Webmerchant confirmation hooks? (1997)