Good catch, it actually highlights that the diff-lcs library itself can't handle encoded strings, same problem with ascii regular-expressions..