utf8 encoding issue when looking at the code/commit?
Created by: brmo
When I try and look at a certain commit in a project i get this, previous commits are fine. And if i do a compare between the previous commit and the broken commit, it works fine.
Rendered commit/show.html.haml within layouts/project_resource (1298.0ms)
Completed 500 Internal Server Error in 1727ms
ActionView::Template::Error (invalid byte sequence in UTF-8):
3: %a.supp_diff_link Diff suppressed. Click to show
4:
5: %table.text-file{class: "#{'hide' if too_big}"}
6: - each_diff_line(diff, index) do |line, type, line_code, line_new, line_old|
7: %tr.line_holder{ id: line_code }
8: - if type == "match"
9: %td.old_line= "..."
app/helpers/commits_helper.rb:25:in match' app/helpers/commits_helper.rb:25:in
match'
app/helpers/commits_helper.rb:25:in block in each_diff_line' app/helpers/commits_helper.rb:24:in
each'
app/helpers/commits_helper.rb:24:in each_diff_line' app/views/commits/_text_file.html.haml:6:in
_app_views_commits__text_file_html_haml__315448924_110855990'
app/views/commits/_diffs.html.haml:44:in block in _app_views_commits__diffs_html_haml___1024735597_118764630' app/views/commits/_diffs.html.haml:17:in
each'
app/views/commits/_diffs.html.haml:17:in each_with_index' app/views/commits/_diffs.html.haml:17:in
_app_views_commits__diffs_html_haml___1024735597_118764630'
app/views/commit/show.html.haml:9:in `_app_views_commit_show_html_haml___1020690822_113456690'