Encoding support is back in the core.
(It can be turned on/off as a preference.)
The code has been slimmed down a bit.