Convert permute to unicode to avoid conversion crash