Remove unused utf-8 handling inside ByteArray