Try all of these methods before asking for further help:
XTerm.VT100.EightBitInput: false(This changes the behavior of the insert-eight-bit action.) With older xterms, you can specify this behavior with a translation:
XTerm.VT100.Translations: #override \ Meta<KeyPress>: string(0x1b) insert()You might have to replace `Meta' with `Alt'.