W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2006

HTML Tidy and charset

From: Tania Estébanez <fair_ithilien@yahoo.es>
Date: Mon, 11 Dec 2006 16:47:19 +0100
Message-ID: <457D7D87.9050503@yahoo.es>
To: html-tidy@w3.org


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 

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 :)


LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
Received on Tuesday, 12 December 2006 04:42:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:56 UTC