Click here to Skip to main content
15,896,606 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: infobar Pin
T1TAN23-Aug-05 22:50
T1TAN23-Aug-05 22:50 
GeneralRe: infobar Pin
Sam 200624-Aug-05 5:51
Sam 200624-Aug-05 5:51 
GeneralRe: infobar Pin
T1TAN24-Aug-05 6:01
T1TAN24-Aug-05 6:01 
GeneralJAVASCRIPT HELP Pin
dgap23-Aug-05 8:26
dgap23-Aug-05 8:26 
GeneralRe: JAVASCRIPT HELP Pin
Guffa23-Aug-05 9:16
Guffa23-Aug-05 9:16 
GeneralTitle: textarea character counting question (javascript) Pin
pduncan8823-Aug-05 5:06
pduncan8823-Aug-05 5:06 
GeneralRe: Title: textarea character counting question (javascript) Pin
Sarvesvara (BVKS) Dasa23-Aug-05 17:27
Sarvesvara (BVKS) Dasa23-Aug-05 17:27 
GeneralSetting Content-type charset for HTML Pin
Anonymous22-Aug-05 11:06
Anonymous22-Aug-05 11:06 
I am setting up an English-language website on a system that mostly serves pages in Korean. Accordingly, when I hit the site, the server sends back headers like this:
Date: Mon, 22 Aug 2005 19:54:30 GMT
Server: Apache/2.0.49 (Unix) PHP/4.3.7
X-Powered-By: PHP/4.3.7
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=EUC-KR

Before displaying the page to my browser, Internet Explorer asks me if I want to install the Korean Language Pack. That's because of the Content-Type header, which specifies the Korean charset, which I don't have on my system.

This behavior isn't what I want, so I added a tag to the section of my page:
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

Unfortunately, this doesn't prevent the "Load Language Pack" popup from appearing. I cannot override the HTTP header with a <meta> tag.

Thinking I had found a bug in Internet Explorer, I quick went to the W3C, and what do you know? IE has it right: http://www.w3.org/TR/REC-html40/charset.html[^]:

conforming user agents must observe the following priorities when determining a document's character encoding (from highest priority to lowest):

1. An HTTP "charset" parameter in a "Content-Type" field.
2. A META declaration with "http-equiv" set to "Content-Type" and a value set for "charset".
3. The charset attribute set on an element that designates an external resource


Now this just seems plain wrong to me! Shouldn't fine-grain settings override global or course-grain settings? I think I should be able to specify a character set for an individual element, which overrides a page setting, which in turn overrides a "global" HTTP header. But no!

So my question is, can I specify character sets in this bottom-up fashion?
QuestionQuestion - Key Generation (Activation) Pin
Mike Doner22-Aug-05 10:30
Mike Doner22-Aug-05 10:30 
GeneralRe: Question - Key Generation (Activation) Pin
Christian Graus22-Aug-05 11:04
protectorChristian Graus22-Aug-05 11:04 
GeneralAbt html drop down combo Pin
Anita Mistry22-Aug-05 0:12
Anita Mistry22-Aug-05 0:12 
GeneralRe: Abt html drop down combo Pin
Guffa22-Aug-05 6:17
Guffa22-Aug-05 6:17 
GeneralDownload Pin
Kasumwal21-Aug-05 22:05
Kasumwal21-Aug-05 22:05 
GeneralRe: Download Pin
Guffa22-Aug-05 1:16
Guffa22-Aug-05 1:16 
GeneralRe: Download Pin
Anonymous22-Aug-05 2:01
Anonymous22-Aug-05 2:01 
GeneralRe: Download Pin
Guffa22-Aug-05 8:38
Guffa22-Aug-05 8:38 
GeneralSimple web service question Pin
Vecta21-Aug-05 21:47
Vecta21-Aug-05 21:47 
GeneralRe: Simple web service question Pin
Vecta23-Aug-05 21:03
Vecta23-Aug-05 21:03 
Generalcan't figure is out Pin
Tim Zorn21-Aug-05 12:45
Tim Zorn21-Aug-05 12:45 
GeneralRe: can't figure is out Pin
alex.barylski21-Aug-05 13:21
alex.barylski21-Aug-05 13:21 
GeneralRe: can't figure is out Pin
Tim Zorn21-Aug-05 14:08
Tim Zorn21-Aug-05 14:08 
GeneralRe: can't figure is out Pin
Tim Zorn21-Aug-05 15:00
Tim Zorn21-Aug-05 15:00 
GeneralRe: can't figure is out Pin
Guffa21-Aug-05 19:15
Guffa21-Aug-05 19:15 
Generalthis may be a newbie Q but... Pin
Anonymous20-Aug-05 19:54
Anonymous20-Aug-05 19:54 
GeneralRe: this may be a newbie Q but... Pin
Guffa20-Aug-05 21:38
Guffa20-Aug-05 21:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.