support all encodings