proper xport encoding