Grit always returns strings tagged as UTF-8, but Rugged returns them as ASCII-8BIT. Gollum assumes UTF-8, and without any encoding changes concatenates the diff lines with UTF-8-encoded strings, which leads to an error if other strings contain non-ASCII characters.
Grit always returns strings tagged as UTF-8, but Rugged returns them as ASCII-8BIT. Gollum assumes UTF-8, and without any encoding changes concatenates the diff lines with UTF-8-encoded strings, which leads to an error if other strings contain non-ASCII characters.