encoding conversion array