added getEncoding and setEncoding methods to AbstractForm