Stripping the encoding information was a mistake - the extra parameters don't break anything, but losing them prevents me correctly transcoding articles when they arrive.
Merge branch 'master' of github.com:mexon/friendica-addons