Re: How to tidy this string

"Arnaud Desitter" <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
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 <[email protected]> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.