Noticed that the way templates render introduce whitespace before the <?xml... line in html and xml documents.  This causes browsers to ignore the encoding information held in that line.
Noticed that the way templates render introduce whitespace before the
<?xml... line in html and xml documents.  This causes browsers to
ignore the encoding information held in that line.

I wrote a WhiteSpaceRemover with one removal operation to handle this
case.  Other operations can be added to the WhiteSpaceVisitor and
configured in settings.SITE_POST_PROCESSORS like so:
'public': {
        'hydeengine.site_post_processors.WhiteSpaceRemover': {
            'remove_document_leading_whitespace': True,
            }
        },

sharms/hyde,Psycojoker/hyde,pascalw/hyde,JoshRosen/hyde,lakshmivyas/hyde,kerryck/hyde,JoshRosen/hyde,Psycojoker/hyde,joshbohde/hyde,nmandery/hyde,Psycojoker/hyde,sjl/hyde,pib/hyde-old,andrulik/hyde,sjl/hyde,holmboe/hyde,kerryck/hyde,jairtrejo/hyde,borismus/hyde,hyde/hyde-old,chetan51/hyde,m-thielen/hyde,m-thielen/hyde,Psycojoker/hyde,op/hyde,hyde/hyde-old,lakshmivyas/hyde,op/hyde,m-thielen/hyde,holmboe/hyde,pascalw/hyde,timfreund/hyde,snorp/hyde,andrulik/hyde,pib/hyde-old,snorp/hyde,jairtrejo/hyde,nmandery/hyde,sharms/hyde,borismus/hyde,joshbohde/hyde,sirex/hyde,sirex/hyde,chetan51/hyde