with regards to the content encoding, i'm not quite sure, i have narrowed it down to the problem starting when the language files were merged.
What i did was used an old DB from the other site i am working on with the commits from the language commit upwards and the site works fine, however when i use a DB from one of those commits (ie. removing the DB and then having the installer create the DB a fresh) i seem to get the 'Content Encoding Error'.
So i'm not sure if it is a problem with the code or with the db.