encoding match