#338 Support for configuration of encoding specify


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

I'm a Chinese, so I'm very hope there is such a feature exist, and i think it's very easy to implement,
i mean add a item to specify the encoding, and if you like, set the default value to none, and if more humanistic , the encoding(charset) is set to the same with the output-encoding itme or char-encoding item, than you verymuch!


  • Arnaud Desitter

    Arnaud Desitter - 2008-08-22

    Logged In: YES
    Originator: NO

    This is a reasonable request. It can be useful to impose a given encoding name if an external encoder is used to post-processed the output of tidy.

  • Arnaud Desitter

    Arnaud Desitter - 2008-08-22
    • labels: 505079 --> Character encodings
    • priority: 5 --> 6
  • Geoff

    Geoff - 2016-04-03

    Thanks for the feature request... now so long ago... sorry for the delay...

    Tidy source has moved on to https://github.com/htacg/tidy-html5, site to http://www.html-tidy.org/

    While tidy still does not grok the encoding meta used in a document, it does have options to specify the input and output encoding to use... read API documentation, like this char-encoding, which will set both in and out encoding...

    However, if you want to persue this, or find another tidy bug, or feature request, then please file an issue, together with sample html and config used, and if you find, fix, and test the feature in a tidy fork then you can issue a Pull Request. Always appreciated... thanks...

    Tidy needs your support...

    Meantime closing this here as out-of-date...

  • Geoff

    Geoff - 2016-04-03
    • status: open --> closed-out-of-date

Log in to post a comment.