export encode port