support of different output encoding formats