Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #3429

Closed
Open
Created Mar 27, 2013 by Administrator@rootOwner

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:inmatch' app/helpers/commits_helper.rb:25:in block in each_diff_line' app/helpers/commits_helper.rb:24:ineach' 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:ineach' 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'

Assignee
Assign to
Time tracking