I think there's a best of both worlds approach: use the `:undef` thing to try to get some kind of diff (even if mangled), and append a message explaining that the mismatched encoding interfered with getting a good diff.