encoding bug in edi form submition