HTML Tidy and charset

Tania Estébanez <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
Hello

I'm using the command line version of Tidy for Windows XP [1] to convert 
HTML to XHTML. I've only used it a couple of times, so I'm new to this 
program.

While converting some HTML documents, I've seen that every time I do it, 
Tidy modifies the charset attribute from the meta tag. Instead of 
keeping its original value (EUC-JP or UTF-8, for example), it always 
puts the value "US-ASCII". Why does this happen? Is there any way to 
prevent this from happening?

I'm not using any config file at all, and the command I use is:

tidy -asxhtml inputFile.txt > outputFile.xml

Thanks a lot :)

[1]http://dev.int64.org/tidy.html

		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
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.