473,834 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

utf-8 and xhtml 1.0 strict

My web site has not been spidered by Googlebot since April 2003. The site in
question is at www.TheBicyclingGuitarist.net/ I received much help from this
NG and the stylesheets NG when updating the code before then.

My host's tech guy just sent me the following. Isn't it okay to specify
UTF-8 as the charset in the HTTP headers at the server level? Isn't it okay
to have validated XHTML 1.0 strict code?

*************** *************** *************** *************** *

If it was an misconfiguratio n with IIS the problem would be presenting
itself for every site that is hosted on that server under that instance of
IIS which isn't the case here. I have only been able to find two
differences between your site which Google isn't updated, and the sites that
are.

1) You have a custom charset also specified in the HTTP headers at the
server level
2) You are using XHTML strict.

I am curious why you chose XHTML strict rather than traditional? Here's a
quote from broadbandreport s.com with the full link at
http://www.broadbandreports.com/faq/...ebmonks?text=1

"If you are using XHTML you should strive to make your pages validate as
XHTML 1.0 Transitional. The XHTML 1.0 Strict standard is a bit too confining
for real world web sites."

My suggestion is still that you talk to Google to find out why their bot
both is getting a 406 error, and why it isn't updating the content it isn't
getting an error on. If you would like I would be happy to reset the HTTP
headers to the default setting so your site identically matches every other
site hosted on this server as far as IIS goes.

----- Original Message -----
From: Chris Watson
To: XXXXXXXXXXXXX
Sent: Tuesday, October 26, 2004 5:16 PM
Subject: RE: Jesse, you really need to see this.
I posted the information from your last two emails in one message at a
search engines newsgroup. What about this guy's answer? It's short and
sweet.

The Bicycling Guitarist wrote:
The following are two messages from the tech guy at my host concerning my
problems with Googlebot or vice versa.


The problem seems to be with your IIS configuration. Google sends
Accept: text/html,text/plain; which of course makes good sense for a
robot as it doesn't want anything else. Your IIS appears to be
incorrectly configured to send a 406 not acceptable message when it sees
this.

If you accept text/* you get your page. It doesn't seem to be linked to
the charset.
Jul 23 '05
35 4651
Alan J. Flavell wrote:
My suspicion is that we're going to end up with XHTML-flavoured tag soup,
thus losing any of the benefits which XML was *supposed* to bring us.


We're seeing some of that already, in tag-soup pages in which
XHTML-style tags like <br /> are sprinkled randomly (interspersed with
their HTML-style equivalents like <br>).

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/
Jul 23 '05 #21
In article <nc************ ****@newssvr13. news.prodigy.co m>,
"The Bicycling Guitarist" <Ch***@TheBicyc lingGuitarist.n et> writes:
The following is what my host's tech guy just sent me. Now he says it's the
fault of specifying the charset in the server header. I thought that's what
we're supposed to do. Is he doing it wrong?


Yes.

Well, I don't know IIS - it may be impossible to do it right.
But what Alan reported shows that it doesn't support HTTP, at least
as currently configured. If your host can't fix that, then they're
as fit for use on the Internet as a washing machine that only works
on 115 volts DC.

Hmmm, I recently ran an accessibility evaluation on an IIS site -
just checked it. They return "text/html; charset=UTF-8" and an HTML
page, regardless of any Accept header I send. Maybe that would be
an improvement for your host, if they lack the basic commonsense to
upgrade to Apache.

--
Nick Kew
Jul 23 '05 #22
On Thu, 28 Oct 2004 21:32:47 -0400, Daniel R. Tobias <da*@tobias.nam e>
wrote:
Alan J. Flavell wrote:

My suspicion is that we're going to end up with XHTML-flavoured tag
soup, thus losing any of the benefits which XML was *supposed* to bring
us.


We're seeing some of that already, in tag-soup pages in which
XHTML-style tags like <br /> are sprinkled randomly (interspersed with
their HTML-style equivalents like <br>).


Don't forget the XHTML pages with topmargin=0 added to the BODY tag...
Even systems geared to producing standards based markup like some blogging
tools are not vigorously checking input and comments, so you end up with
invalid pages anyway. Not a big deal, but this means that browsers will
not be able to treat XHTML different from HTML: it is and will stay tag
soup. There is nothing (more) wrong with sending XHTML tag soup instead of
sending HTML tag soup, from the browsers and readers point of view.

--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen

Jul 23 '05 #23

"Nick Kew" <ni**@hugin.web thing.com> wrote in message
news:7e******** ****@hugin.webt hing.com...
In article <nc************ ****@newssvr13. news.prodigy.co m>,
"The Bicycling Guitarist" <Ch***@TheBicyc lingGuitarist.n et> writes:

But what Alan reported shows that it doesn't support HTTP, at least
as currently configured. If your host can't fix that, then they're
as fit for use on the Internet as a washing machine that only works
on 115 volts DC.

Hmmm, I recently ran an accessibility evaluation on an IIS site - Nick Kew


Hi Nick. I like "fussy" mode. Your online tools have greatly assisted me
many times. I am very grateful for your assistance, and to everyone else who
has contributed to this thread. I may need another host soon.
Chris Watson a.k.a. "The Bicycling Guitarist"
Jul 23 '05 #24
In article <op************ **@news.individ ual.net>,
"Rijk van Geijtenbeek" <ri**@operaremo vethiz.com> writes:
Even systems geared to producing standards based markup like some blogging
tools are not vigorously checking input and comments, so you end up with
invalid pages anyway.


Huh? Either tools generate valid markup, or they don't. You want to
accept markup from users and guarantee it's valid, see for example
http://www.apachetutor.org/apps/annot

--
Nick Kew
Jul 23 '05 #25
On Fri, 29 Oct 2004 12:08:42 +0100, Nick Kew <ni**@hugin.web thing.com>
wrote:
In article <op************ **@news.individ ual.net>,
"Rijk van Geijtenbeek" <ri**@operaremo vethiz.com> writes:
Even systems geared to producing standards based markup like some
blogging
tools are not vigorously checking input and comments, so you end up with
invalid pages anyway.
Huh? Either tools generate valid markup, or they don't.


Many don't. Even though they use nice standards-based table-less CSS
driven markup, that's what I meant.
You want to
accept markup from users and guarantee it's valid, see for example
http://www.apachetutor.org/apps/annot


--
Rijk van Geijtenbeek

The Web is a procrastination apparatus:
It can absorb as much time as is required to ensure that you
won't get any real work done. - J.Nielsen

Jul 23 '05 #26
"The Bicycling Guitarist" <Ch***@TheBicyc lingGuitarist.n et> a écrit
dans le message de news:nc******** ********@newssv r13.news.prodig y.com
The following is what my host's tech guy just sent me. (...) Chris, (...) When you telnet in and request the page manually with an accept of
"text/html" or "text/html,text/plain: the server tries to return
"text/html;charset=ut f-8" which isn't what the client requested so it
kicks back the 406 error.


Seems like there is a big confusion : the mime type value and the charset
share the same content type http header. For a content type negociation of
course only the mime type is compared. The charset information is, as told
before, very important and should always be returned.

Jul 23 '05 #27

"Pierre Goiffon" <pg******@nowhe re.invalid> wrote in message
news:41******** *************** @news.free.fr.. .
"The Bicycling Guitarist" <Ch***@TheBicyc lingGuitarist.n et> a écrit
dans le message de news:nc******** ********@newssv r13.news.prodig y.com
The following is what my host's tech guy just sent me.

(...)
Chris,

(...)
When you telnet in and request the page manually with an accept of
"text/html" or "text/html,text/plain: the server tries to return
"text/html;charset=ut f-8" which isn't what the client requested so it
kicks back the 406 error.


Seems like there is a big confusion : the mime type value and the charset
share the same content type http header. For a content type negociation of
course only the mime type is compared. The charset information is, as told
before, very important and should always be returned.


Should I also forward the above paragraph to my host's tech? Will *this*
finally fix things (assuming he understands it and can implement it on IIS)?
Chris Watson a.k.a. "The Bicycling Guitarist"
Jul 23 '05 #28
"The Bicycling Guitarist" <Ch***@TheBicyc lingGuitarist.n et> a écrit
dans le message de news:33******** ********@newssv r13.news.prodig y.com
Should I also forward the above paragraph to my host's tech?


Hu. Well no problem. You should just rephrase because I think my english is
far for perfect :)
The idea is that the content-type HTTP header contains two distincts MIME
informations : the MIME content-type itself and the charset. The content
negociation must be done with the _MIME_ content-type.

Jul 23 '05 #29
Invalid User <us**@domain.in valid> wrote:
Therefore more XHTML coded sites is published almost every day now.

Every day more Lemmings are jumping off a cliff.
Mostly by people who don't understand the issues involved. Instead, like
you, they've been seduced the the "X" into thinking it's somehow cool or
modern.
Where do you think I copied this from:
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

No, it's not any of my pages. It's from the W3C site! Don't even the
guys at W3C understand?


They do, it's a mistake to see their usage of xhtml served as text/html
as a recommendation. It's an aspiration that has proven to be pointless
for the foreseeable future. Even the things they do recommend should be
evaluated for value, usefulness and practicality. This evaluation is
left to the coding community and the verdict on xhtml is: don't. Look
through the archives of this group; every time it is discussed the
mythical benefits of xhtml have been dispelled by the people who've been
there and done that.
I know a lot more sites by people who know a lot
more about this than I do, and who use XHTML served as text/html


Lemmings, do you want to be one?

--
Spartanicus
Jul 23 '05 #30

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
4195
by: lawrence | last post by:
Someone on www.php.net suggested using a seems_utf8() method to test text for UTF-8 character encoding but didn't specify how to write such a method. Can anyone suggest a test that might work? Something that maybe gives 90% confidence that a given block of text is or is not UTF-8 encoded?
4
6415
by: Alban Hertroys | last post by:
Another python/psycopg question, for which the solution is probably quite simple; I just don't know where to look. I have a query that inserts data originating from an utf-8 encoded XML file. And guess what, it contains utf-8 encoded characters... Now my problem is that psycopg will only accept queries of type str, so how do I get my utf-8 encoded data into the DB? I can't do query.encode('ascii'), that would be similar to: >>> x =...
12
8237
by: Mike Dee | last post by:
A very very basic UTF-8 question that's driving me nuts: If I have this in the beginning of my Python script in Linux: #!/usr/bin/env python # -*- coding: UTF-8 -*- should I - or should I not - be able to use non-ASCII characters in strings and in Tk GUI button labels and GUI window titles and in raw_input data without Python returning wrong case in manipulated
38
5752
by: Haines Brown | last post by:
I'm having trouble finding the character entity for the French abbreviation for "number" (capital N followed by a small supercript o, period). My references are not listing it. Where would I find an answer to this question (don't find it in the W3C_char_entities document). -- Haines Brown brownh@hartford-hwp.com
6
18769
by: jmgonet | last post by:
Hello everybody, I'm having troubles loading a Xml string encoded in UTF-8. If I try this code: ------------------------------ XmlDocument doc=new XmlDocument(); String s="<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?><a>Schönbühl</a>"; doc.LoadXml(s); doc.Save("d:\\temp\\test.xml");
6
13897
by: archana | last post by:
Hi all, can someone tell me difference between unicode and utf 8 or utf 18 and which one is supporting more character set. whic i should use to support character ucs-2. I want to use ucs-2 character in streamreader and streamwriter. How unicode and utf chacters are stored.
7
12163
by: Jimmy Shaw | last post by:
Hi everybody, Is there any SIMPLE way to convert from UTF-16 to UTF-32? I may be mixed up, but is it possible that all UTF-16 "code points" that are 16 bits long appear just the same in UTF-32, but with zero padding and hence no real conversion is necessary? If I am completely wrong and some intricate conversion operation needs to take place, can anyone give me some primer on the subject?
1
7299
by: sheldon.regular | last post by:
I am new to unicode so please bear with my stupidity. I am doing the following in a Python IDE called Wing with Python 23. äöü äöü '\xc3\xa4\xc3\xb6\xc3\xbc' u'\xe4\xf6\xfc' u'\xe4\xf6\xfc' äöü
10
19592
by: Jed | last post by:
I have a form that needs to handle international characters withing the UTF-8 character set. I have tried all the recommended strategies for getting utf-8 characters from form input to email message and I cannot get it to work. I need to stay with classic asp for this. Here are some things I tried: 'CDONTS Call msg.SetLocaleIDs(65001)
23
5036
by: Allan Ebdrup | last post by:
I hava an ajax web application where i hvae problems with UTF-8 encoding oc chineese chars. My Ajax webapplication runs in a HTML page that is UTF-8 Encoded. I copy and paste some chineese chars from another HTML page viewed in IE7, that is also UTF-8 encoded (search for "china" on google.com). I paste the chineese chars into a content editable div. My Ajax webservice compiles an XML where the data from the content editable div is...
0
9799
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9649
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10515
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7761
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5629
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5799
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4428
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3985
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.