Set encoding type on <form> tag if needed