W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2008

Re: How to tidy this string

From: Arnaud Desitter <arnaud02@users.sourceforge.net>
Date: Thu, 27 Mar 2008 19:37:39 +0000
Message-ID: <a240ddd00803271237r38bb8b32p1014a60d35658534@mail.gmail.com>
To: "zhong zeng" <zhongzeng@gmail.com>
Cc: html-tidy@w3.org
Hi,

I think that the big5 encoding of tidy is not reliable. Your best bet to
encode it to utf8, use tidy -uft8 and encode the results to the encoding
of your choice.

Regards,

On 27/03/2008, zhong zeng <zhongzeng@gmail.com> wrote:
> HI,all
>   I want to tidy this string to XML . the below this my example
>  string: &reg;
>  the tidy result is :
>  <html>
> <head>
> <meta name="generator"
> content="HTML Tidy for Windows (vers 21 March 2007), see www.w3.org" />
> <title></title>
> </head>
> <body> ?/body>
> </html>
>
>  and my tidy config is:
>  tidy-mark: n
> clean: y
> doctype: auto
> drop-empty-paras: y
> join-classes: y
> join-styles: y
> logical-emphasis: y
> merge-divs: y
> output-xml: y
> indent: auto
> indent-spaces: 2
> markup: y
> wrap: 0
> char-encoding: big5
>
> Who can Help me ?
> thanks !
> Jezz
>
Received on Thursday, 27 March 2008 19:39:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:58 GMT