Added encodings snippet