sg

Çarşamba, Kasım 30, 2005

Re: IE Issues


Both the html and xml pages are presented as containing UTF-8 encoded
characters. Instead, they contain Windows-1252 or ISO-8859-1 encoded
characters.

You need to match the character encoding of the page with the character
set in the headers of the page. If you write the appropriate header in
both the ASP scripts

content-type: text/html;charset=ISO-8859-1

content-type: text/xml;charset=ISO-8859-1

then the browser will be informed of the character set encoding of the
data. You will need to figure out how to do this in ASP yourself.

It is very possible that many of the pages we visit on the net have
incorrect character set values, but it is not noticable because they
only display the characters on the US-English keyboard.

The accented characters that you can enter easily on European and
French-Canadian keyboards (or with difficulty on the US keyboard) can
be represented in different ways in the document. You may see the
correct characters glyph displayed on your system, but the wrong symbol
on another machine, or even in a different application on the same
machine, when the application guesses wrong about the encoding of your
data.

The charset clause of the content-type header eliminates the guessing.

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık