Re: Bug#354640: tidy -utf8 -raw or else wrapping wacko on wide chars

Dan Jacobson <[email protected]> Tue, 28 Feb 2006 12:16:56 +0800
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
# su - nobody
$ wget -O - http://jidanni.org/geo/taipower/sunriver/index.html|
  iconv -f big5 -t utf8 > i.html
$ tidy -q -utf8 -raw i.html|perl -nwe 'print if length>80'|wc
      4       5     419 #and they are just a tiny bit over 80. OK.
$ tidy -q -raw -utf8 i.html|perl -nwe 'print if length>80'|wc
     25     130    2845 #And to think that I was about to batch job
convert my whole site into a highly wrapped mess!
$ dlocate -s tidy
Version: 20050415-1 ...

P.S., a side effect of -utf8 -raw is that <meta ... charset=big5"> no
longer got changed to utf-8. OK, I will do two runs, first with just
-utf8, then with -utf8 -raw.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642