Defect #9107

Git: Redmine can't show Simplified Chinese character in filenames in git repository

Added by xuwei cheng over 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:2011-08-23
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-
Resolution:Duplicate Affected version:

Description

环境
ubuntu10
redmine0.9
问题见图

乱码.jpg (25.2 KB) xuwei cheng, 2011-08-23 10:18


Related issues

Duplicates Redmine - Defect #5251: Git: Repository path encoding of non UTF-8 characters Closed 2010-04-07

History

#1 Updated by Etienne Massip over 6 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

Speak english.

#2 Updated by Bogor shi about 6 years ago

  • Status changed from Closed to Reopened

it is say that can't show chinese file name right in redmine's repository! chinese file name made in windows.
but used TortoiseGit is OK!

#3 Updated by Toshi MARUYAMA about 6 years ago

  • Subject changed from git+redmine乱码 to Git: Redmine can't show Simplified Chinese character in filenames in git repository
  • Category set to SCM
  • Status changed from Reopened to Closed

Set Simplified Chinese encoding name on your repository setting.

#4 Updated by Toshi MARUYAMA about 6 years ago

  • Tracker changed from Feature to Defect

#5 Updated by Toshi MARUYAMA about 6 years ago

  • Resolution changed from Invalid to Duplicate

#6 Updated by Bogor shi about 6 years ago

  • Status changed from Closed to Reopened

I had change Simplified Chinese encoding name on my repository setting,but no ok like then pic. I think maybe redmine need add some function to do this.like http://code.google.com/p/utf8-git-on-windows/downloads/list we set server on ubuntu and client on windows ,we have to use this git.

Thank you!

#7 Updated by Toshi MARUYAMA about 6 years ago

  • Status changed from Reopened to Closed

Redmine has tests of path encoding.
You need to use above git 1.7.2 or set "core.quotepath=false".

See source:tags/1.2.1/lib/redmine/scm/adapters/git_adapter.rb#L363

#8 Updated by Bogor shi about 6 years ago

  • Status changed from Closed to Reopened

first : Server ubuntu 10.04 git-core 1.7.04 gitolite gitk redmine 1.2.1 mysql 5.1.4
Client msysgit 1.7.3,TortoiseGit 1.6
git repo made by gitolite.than on client TortoiseGit OK! on server gitk OK! but in redmine NO OK!
set server git config --globle "core.quotepath=false" The problem same.

update my git-core 1.7.6 than tst The problem same. I don't why!

Could you show me your server environment and config?

Thank you!

#9 Updated by Toshi MARUYAMA about 6 years ago

  • Status changed from Reopened to Closed

All Redmine tests pass.

This is Redmine issue tracker, not supporting.
You should open topic on forum.

#10 Updated by Bogor shi about 6 years ago

Help in your.
I have fix the problem. and i write here for others; I am sorry to make issue tracker is support!
Thank you very much!

update  git-core 1.7.2 (http://packages.debian.org/source/squeeze/git)
git config --system core.quotepath false

everything is OK!

Also available in: Atom PDF