added new configration parameter encoding (true/false)