Word difference fails in some cases

Issue #197 resolved
Dmitry Kasatsky created an issue

Just toggle word difference mode

Comments (3)

  1. Evgeny Kralko repo owner
    • changed version to 1.0

    Temp workaround provided:

    catch (ArgumentOutOfRangeException)
    {
    // temp workaround to prevent diffMatchPath exception
    // due to some unexpected characters (� for example).
    //
    diffs = diffMatchPatch.DiffMain(removedText.Replace('�', '?'), addedText.Replace('�', '?'));
    }

  2. Log in to comment