From: Adrian S. <ad...@ya...> - 2009-12-19 19:54:44
|
Hi, this seems to be a bug in the current trunk code. It's already fixed in the CodeUpdateAndJava5 branch, but that's not released yet. You could use that branch (from svn), or backport the fix (method Clean.verifyHTTPEquiv)... or ask me to do it and wait. Regards, Adrian --- On Sun, 12/20/09, Thomas Porschberg <th...@ra...> wrote: > From: Thomas Porschberg <th...@ra...> > Subject: [Jtidy-user] http-equiv meta attribute > To: jti...@li... > Date: Sunday, December 20, 2009, 3:26 AM > Hi, > > I use jtidy integrated in silkpage ( http://silkpage.markupware.com/ ). > I want migrate my HTML output pages from ISO-8859-1 to > UTF-8. > > Therefore I added the line > output-encoding: utf8 > to my tidy.properties file. > > But the HTML-output still contains the line: > > <meta http-equiv="Content-Type" content="text/html; > charset=ISO-8859-1" /> > > but with the new UTF-8 encoding it should be: > > <meta http-equiv="Content-Type" content="text/html; > charset=UTF-8" /> > > What is the proper way to change this line? > Can it be done by configuration? > > Best regards, > Thomas > > -- > http://www.randspringer.de |