html encoding, in method help