Set encoding as cli parameter