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
  • #9577

Closed
Open
Created Aug 25, 2015 by Administrator@rootOwner

Error 500 "invalid byte sequence in UTF-8" when clicking blame

Created by: EmteZogaf

GitLab version: 7.14.0 File encoding: iso-8859-1 File content: contains umlauts Ä and ü Action: clicking Blame button on file view Result: Internal Server Error (500)

production.log:

Processing by Projects::BlameController#show as HTML
  Parameters: {"namespace_id"=>"mynamespace", "project_id"=>"myproject", "id"=>"master/folder/file_with_iso-8859-1_encoding.txt"}
Completed 500 Internal Server Error in 53ms (ActiveRecord: 2.0ms)

ArgumentError (invalid byte sequence in UTF-8):
  app/controllers/projects/blame_controller.rb:15:in `new'
  app/controllers/projects/blame_controller.rb:15:in `group_blame_lines'
  app/controllers/projects/blame_controller.rb:11:in `show'
Assignee
Assign to
Time tracking