sergi / go-diff

Diff, match and patch text in Go
MIT License
1.84k stars 210 forks source link

Document invalid UTF-8 sequence handling #61

Closed zimmski closed 7 years ago

zimmski commented 7 years ago

At least DiffMain returns the Unicode replacement character for invaid UTF-8 sequence handling. I hope I caught every API endpoint that does that as well.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 98.976% when pulling dda5e6e619e07afd096b6ee01b93feba134e78dc on 21-invalid-utf8 into d7be4c82363778764f76e90fb14a9722f1b92d63 on master.