Replace undefined characters in the target encoding with questions marks