Re: How to tidy this string

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 UTC