Page 1 of 1
encoding problem
Posted: Wed Oct 11, 2006 4:25 am
by raghavan20
Code: Select all
Kiran Desai's <a href="http://www.bookdepository.co.uk/WEBSITE/WWW/WEBPAGES/showbook.php?id=0241143489">The Inheritance of Loss</a> has won this year's <a href="http://www.themanbookerprize.com/" target="_blank">Man Booker Prize</a>.
Actual URL
You can see the above quote in 'The Editor's Corner' section. Now the problem is, there appears to be a question mark after the word 'Loss' and this seems to be an encoding problem.
If I change the encoding in the browser to Western European it is fine but when I try to do it from webpage like
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
it does not work.
I am referring to character encoding
here
Can anybody tell me why is this problem happening or can anybody give the exact code for Western-European used by IE?
Thanks for any help.
Posted: Wed Oct 11, 2006 6:34 am
by CoderGoblin
Your
Code: Select all
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
should be
Code: Select all
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
Note the case of Content-Type.. (the declaration at present is being ignored).
Posted: Wed Oct 11, 2006 6:52 am
by raghavan20
that is still not working!
see
here
Posted: Thu Oct 12, 2006 2:37 am
by CoderGoblin
Looking at it I cannot see what is wrong. Case doesn't seem to be important. One thing which is confusing is the fact that the content type does not seem to be recognised, not just in IE but also in Firefox. Look at the content type of this page and it is also
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> which works.
What is the "bad" character being inserted (It's also occuring if you follow the link) ?. It seems to be coming from wherever you get the information. What is your "editor" saving as (mine defaults to utf-8 at the moment which can cause problems if I',m not using utf-8 ) ?
Sorry I can't direct you you to the proper answer.
Posted: Thu Oct 12, 2006 2:49 am
by Rovas
I have the same problem and I find out the server encode
as unicode character when I upload a page on the server. So Ihad to remove it and I had to change in all place that it appeared.
Posted: Thu Oct 12, 2006 4:27 am
by raghavan20
Rovas wrote:I have the same problem and I find out the server encode
as unicode character when I upload a page on the server. So Ihad to remove it and I had to change in all place that it appeared.
can you tell me appears as which character?
Posted: Thu Oct 12, 2006 4:36 am
by Rovas
Posted: Thu Oct 12, 2006 5:27 am
by raghavan20
so are you saying utf-8 encoding misinterprets certain character? what encoding do you suggest, I prefer western-european but the Content-Type meta tag does not seem to work.