3.0 shares some of the decodeFromUTF8 and encodeAsUTF8 code with 2.4