Skip to content

Problem in format charset

Created by: hpcarlos

The problem in comment in commit or in name of commiter. My language is Pt-BR, examples of characters ( ç , á, é, ê ...)

Showing /home/gitlabhq/gitlabhq/app/views/commits/_commit.html.haml where line #6 raised:

incompatible character encodings: UTF-8 and ASCII-8BIT

Extracted source (around line #6):

3:     %p
4:       %strong= link_to "Browse Code »", tree_project_ref_path(@project, commit.id), :class => "right"
5:   = link_to project_commit_path(@project, :id => commit.id) do
6:     %p
7:       %code.left= commit.id.to_s[0..10]
8:       %strong.cgray= commit.author_name
9:       –

Trace of template inclusion: app/views/commits/_commits.html.haml, app/views/commits/index.html.haml