|
Posted by Gιrard Talbot on 03/16/07 18:53
Andy Dingley wrote :
> On 15 Mar, 17:37, grou...@reenie.org wrote:
>
>> I'll rephrase that. Why is Tidy giving me a document that does not
>> validate ?
>
> I don't think Tidy fixes errors that are caused by impossible
> characters,
Correct. It's up to the web author to know
- in which character set the HTML document was written
- how to choose the correspondent character set
Tidy will not fix impossible task, well beyond its capabilities and
scope. Tidy is best used to fix well-known HTML coding practices.
arising from embedding uninterpretable byte sequences in
> documents that conflict with the assumed encoding for that file. If
> they're broken, I think they just stay broken.
>
>> It is because the server is somehow serving the file wrong ?
>
> I think your server is trying to serve these documents correctly, but
> you still haven't shown us the original.
Correct. It is useless to start talking about fixing a webpage when we
can't see the page with its actual HTTP headers.
A long time ago, you asked:
> Which page? Does it have a URL?
>
> There is simply no point in discussing encoding issues like this unles
> we can see the live page (including HTTP headers).
GΓ©rard
--
Using Web Standards in your Web Pages (Updated Dec. 2006)
http://developer.mozilla.org/en/docs/Using_Web_Standards_in_your_Web_Pages
Navigation:
[Reply to this message]
|