Getting encodings sorted.