473,809 Members | 2,826 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2781
"Mike" <mi**@mbreiding .us> wrote in message
news:n2******** *************** *********@4ax.c om...
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.infosystem s.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="window s-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
3886
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... : For example : Run .asp save source, run tidy, examine html source determine where the error is (IN what line) go to my .asp and find where the html is generated from... fix it.. run again
12
17119
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. This is okay in some cases (such as <tbody>), but problematic for other tags (such as <option>). Some tags (td, th, ...) do not produce warnings when they are empty.
0
1856
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 <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/tchVSAddinEnablingHTMLTidy.asp>. However, it is not implemented as a Visual Studio Add-in, but as a response filter. This way, the complete HTML source is tidied, including the output of web controls.
40
5621
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 HTML page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html401/strict.dtd"> <html> <head>
2
2040
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
2839
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 <style> segment: e.g. before: <style> p {
0
1886
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 = ob_get_clean(); // Specify configuration
1
3140
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 http://users.rcn.com/creitzel/tidy.html#cplusplus which HTML Tidy C++ version (easiest) should I use for C++ project?
0
1248
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 with source code like http://users.rcn.com/creitzel/tidy.html#cplusplus
0
9721
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...
1
10375
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10114
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9198
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6880
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
5548
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
5686
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
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
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.