473,396 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Tidy HTML - feedback requestes

Greetings,

I just used Tidy HTML for the first time.
The address below contains the files need to check on Tidy's
corrections.
I would appreciate any feedback on the Tidy report and the necessity
and validity of the changes Tidy has made or recommended.

The following is obvious to me:
line 194 column 98 - Warning: discarding unexpected </font>

This I do not understand:
Characters codes for the Microsoft Windows fonts in the range
128 - 159 may not be recognized on other platforms. You are
instead recommended to use named entities, e.g. &trade; rather
than Windows character code 153 (0x2122 in Unicode). Note that
as of February 1998 few browsers support the new entities.
http://mbreiding.us/tidy/
CORRECTED FILE: les10-TIDY.html
TIDY REPORT: les10-html-err.txt
ORIGINAL FILE: les10.html
Jul 23 '05 #1
3 2746
"Mike" <mi**@mbreiding.us> wrote in message
news:n2********************************@4ax.com...
Greetings,

I just used Tidy HTML for the first time.
This I do not understand:
Characters codes for the Microsoft Windows fonts in the range
128 - 159 may not be recognized on other platforms. You are
instead recommended to use named entities, e.g. &trade; rather
than Windows character code 153 (0x2122 in Unicode). Note that
as of February 1998 few browsers support the new entities.


Just what it said. numeric character references in the range 128-159 are
invalid. Results will vary from user to user, e.g. may be different for
Windows and Mac users.

The solution is to use valid numeric character references, or to use
character entities (which are not quite as well supported by older browsers
as the numeric character references).

See http://www.upsdell.com/BrowserNews/res_entities.htm

Jul 23 '05 #2
* Mike wrote in comp.infosystems.www.authoring.html:
This I do not understand:
Characters codes for the Microsoft Windows fonts in the range
128 - 159 may not be recognized on other platforms. You are
instead recommended to use named entities, e.g. &trade; rather
than Windows character code 153 (0x2122 in Unicode). Note that
as of February 1998 few browsers support the new entities.


By default, Tidy assumes a default character encoding of ISO-8859-1 for
which code points 128 - 159 would refer to control characters which are
not legal in HTML. In this default mode, it further assumes that these
are included by accident and what the user really intended was to use
the Windows-1252 character encoding (or MacRoman on MacOS, IIRC) warns
about this issue and changes the code points accordingly, for example
153 would become 2122 (0x84A) which is U+084A in Unicode and equivalent
to &trade;. If you run Tidy with the -win1252 switch, you would get a
different result. Suggestions to improve the text above should be filed
as feature requests in the Tidy feature request tracker, see the Tidy
homepage at http://tidy.sf.net for details.
Jul 23 '05 #3
DU
Mike wrote:
Greetings,

I just used Tidy HTML for the first time.
The address below contains the files need to check on Tidy's
corrections.
I would appreciate any feedback on the Tidy report and the necessity
and validity of the changes Tidy has made or recommended.

The following is obvious to me:
line 194 column 98 - Warning: discarding unexpected </font>

This I do not understand:
Characters codes for the Microsoft Windows fonts in the range
128 - 159 may not be recognized on other platforms. You are
instead recommended to use named entities, e.g. &trade; rather
than Windows character code 153 (0x2122 in Unicode). Note that
as of February 1998 few browsers support the new entities.
http://mbreiding.us/tidy/
CORRECTED FILE: les10-TIDY.html
TIDY REPORT: les10-html-err.txt
ORIGINAL FILE: les10.html

In a way, what it says (assumption) is avoid declaring
charset="windows-1252". Instead use charset="iso-8859-1"

DU
--
The site said to use Internet Explorer 5 or better... so I switched to
Mozilla 1.7.3 :)
Jul 23 '05 #4

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

Similar topics

4
by: Anthony | last post by:
I love the HTML Cleaner-upper Tidy... http://tidy.sourceforge.net and I use it ALL the time after running my .asp's... however (As you can imagine).. this is a longer process then I want... : ...
12
by: Stefan Weiss | last post by:
Hi. (this is somewhat similar to yesterday's thread about empty links) I noticed that Tidy issues warnings whenever it encounters empty tags, and strips those tags if cleanup was requested....
0
by: Christoph Schneegans | last post by:
Hi! I'd like to present an easy, yet powerful approach to use the HTML Tidy program from <http://tidy.sourceforge.net/> in ASP.NET. It is similiar to...
40
by: VK | last post by:
Hi, After the response on my request from W3C I'm still unclear about Tidy vs. Validator discrepansies. That started with <IFRAME> issue, but there is more as I know. Anyway, this very basic...
2
by: Sebastian Gohres | last post by:
Hi! First: sorry for my bad english :) If I parse template files, html tidy remove all tags beginning with { for example: before: <select name="country" size="1">
4
by: Schraalhans Keukenmeester | last post by:
I recently discovered the value of tidy for my html adventures. Nice little app. Only one thing is becoming a bit of a drag. If I use tidy to clean up my code, it inserts the following in every...
0
by: BG Mahesh | last post by:
hi I have installed Tidy on Fedore Core 4.0 using RPM. I have a very simple script that uses tidy, ------------tidy.php------------------ <html>a html document</html> <? $html =...
1
by: Carmen Sei | last post by:
I need to parse HTML page and extract data should I use HTML Tidy DLL http://dev.int64.org/tidy.html or it's easier to use library with source code like...
0
by: tobycraftse | last post by:
any example shows how to use HTML Tidy in VC++ project? I need to parse HTML page and extract data should I use HTML Tidy DLL http://dev.int64.org/tidy.html or it's easier to use library...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.