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

Re: special characters in comments getting 'mangled'

From: Dave Raggett <dsr@w3.org>
Date: Fri, 11 Oct 2002 05:37:25 -0400 (EDT)
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: Fred <fred@gloryofgod.com>, <html-tidy@w3.org>
Message-ID: <Pine.LNX.4.30.0210110536180.5347-100000@tux.w3.org>

On Fri, 11 Oct 2002, Bjoern Hoehrmann wrote:

>
> * Fred wrote:
> >I have run into a problem while tidying up some html that has
> >comments in it.  Maybe this can turn into a requested feature??
> >
> >the comment looks something like
> ><!-- <o:tag>Coulomb's law</o:tag> -->
> >Except that the ' is a chr 146.  In other words, a 'smart apostropy' or
> >'curly apostropy'
> >(yes this is output from word if you are curious)
> >
> >This character is getting changed to something else. In my text editor it
> >indicates it is a chr 25.
>
> Yes. That's a bug. I added it to the bug tracker, see
>
>   http://tidy.sf.net/issue/621671

Is it a bug?  Surely this depends on the charset. If it is something
other than the windows charset then 146 isn't a valid character.

-- 
 Dave Raggett <dsr@w3.org> or <dave.raggett@openwave.com>
 W3C lead for voice/multimodal. http://www.w3.org/People/Raggett
 tel/fax: +44 1225 866240 (or 867351) +44 771 213 7629 (GSM)
Received on Friday, 11 October 2002 05:50:19 UTC

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