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

Closed
Open
Created May 29, 2013 by Administrator@rootOwner

Encoding error in Gitlab 5.2

Created by: RubingHan

I've pushed some files (named in Chinese) and when I'm trying to view the commit list, I'm getting error 500.

Here's error log:

Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
  app/models/commit.rb:69:in `method_missing'
  app/contexts/commit_load_context.rb:23:in `execute'
  app/controllers/commit_controller.rb:11:in `show'

  Rendered errors/encoding.html.haml within layouts/errors (0.2ms)
  Rendered layouts/_head.html.haml (2.1ms)
  Rendered layouts/_search.html.haml (69.3ms)
  Rendered layouts/_head_panel.html.haml (74.9ms)
  Rendered layouts/_flash.html.haml (0.1ms)
Completed 500 Internal Server Error in 206ms (Views: 77.4ms | ActiveRecord: 4.4ms)
Assignee
Assign to
Time tracking