You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the bug report. We're performing a diff on byte boundaries rather than rune boundaries. We can fix the heuristic for this where we use rune diffing if the strings are valid UTF-8.
Summary
When I want to compare two Japanese words and there is diff, the returned value of
Diff
method is unreadable.Detail
Here is an example.
test code
cmp.Diff
producesthe above output is not readable. I expect the following output
version info
The text was updated successfully, but these errors were encountered: