getEncodeTxt, doc format fix.