W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Re: pb with entities

From: Charles Reitzel <creitzel@rcn.com>
Date: Fri, 29 Nov 2002 12:11:44 -0500
Message-Id: <4.3.2.7.2.20021129120941.027de670@pop.rcn.com>
To: Riccardo Cohen <rcohen@dial.oleane.com>
Cc: html-tidy@w3.org

This may sound counter-intuitive, but use ASCII output encoding.  Unless 
you have set --numeric-entities yes, ASCII encoding forces any Latin 1 
characters to be written as named character entities.  If you use 
--output-encoding latin1, then no escaping of these characters is necessary 
and thus is not performed.

take it easy,
Charlie

At 05:00 PM 11/27/2002 +0000, Riccardo Cohen wrote:

>Hello,
>I use Html-Tidy within HTML Kit
>When I pass html tidy on this page :
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
>Ceci sont des accents :  
>This is the result :
>
>Ceci sont des accents :  
>I unckecked the option "use numeric entities" and choose default encoding 
>and output=xhtml
>
>How can I have &eacute; &nbsp; &agrave; etc... ???
>Thanks for any help
>
>PS: I use version "15-apr-2002" of HTMLTidy.dll dated 17 april 2002 12:41
>
>
>--
>Riccardo Cohen
>
>Articque
>Les Roches
>37230 Fondettes
>France
>email = rcohen@dial.oleane.com
>web = http://www.articque.com
>tel: +33 02 47 49 90 49
>fax: +33 02 47 49 91 49
>
>--
>Riccardo Cohen
>
>Articque
>Les Roches
>37230 Fondettes
>France
>email = rcohen@dial.oleane.com
>web = http://www.articque.com
>tel: +33 02 47 49 90 49
>fax: +33 02 47 49 91 49
Received on Friday, 29 November 2002 12:08:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC