fix encoding for export orders