param encoding