Tidy and Charset
Tub JOU <[email protected]> Sun, 9 Feb 2020 12:05:45 +0800
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <CAE4SA10bph+xc4-XkR7y11sT=+qBQnTrhNYro33RdcAwHS639A@mail.gmail.com> |
--000000000000deedba059e1cc539 Content-Type: text/plain; charset="UTF-8" Hi, I'm using the command line version of Tidy to convert HTML to XHTML. While converting some HTML documents, I've seen that every time I do it, Tidy modifies the charset attribute from the meta tag. It always puts the value "US-ASCII". Why does this happen? The command I use is: tidy -asxhtml inputFile.txt > outputFile.xml Is this right? Anyone can help? Regards -- Ragnar SF's Administration Softwarefavorite.com <https://www.softwarefavorite.com/> --000000000000deedba059e1cc539 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi,</div><div><br></div><div>=C2=A0 =C2=A0I'm usi= ng the command line version of=C2=A0<span class=3D"gmail-il">Tidy</span>=C2= =A0to convert HTML to XHTML. While converting some HTML documents, I've= seen that every time I do it,=C2=A0<span class=3D"gmail-il">Tidy</span>=C2= =A0modifies the=C2=A0<span class=3D"gmail-il">charset</span>=C2=A0attribute= from the meta tag. It always puts the value "US-ASCII". Why does= this happen?</div><div><br></div><div>The command I use is:=C2=A0<span cla= ss=3D"gmail-il">tidy</span>=C2=A0-asxhtml inputFile.txt > outputFile.xml= =C2=A0 Is this right?<br></div><div><br></div><div>Anyone can help?</div><d= iv><br></div><div>Regards</div><font color=3D"#888888"><div><br></div><div>= --=C2=A0</div><div>Ragnar</div><div>SF's Administration</div><div><a hr= ef=3D"https://www.softwarefavorite.com/">Softwarefavorite.com</a></div></fo= nt></div> --000000000000deedba059e1cc539--