Project

General

Profile

Actions

Defect #9107

closed

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

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2011-08-23
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

环境
ubuntu10
redmine0.9
问题见图


Files

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

Related issues

Is duplicate of Redmine - Defect #5251: Git: Repository path encoding of non UTF-8 charactersClosedToshi MARUYAMA2010-04-07

Actions
Actions #1

Updated by Etienne Massip over 13 years ago

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

Speak english.

Actions #2

Updated by Bogor shi over 13 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!

Actions #3

Updated by Toshi MARUYAMA over 13 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.

Actions #4

Updated by Toshi MARUYAMA over 13 years ago

  • Tracker changed from Feature to Defect
Actions #5

Updated by Toshi MARUYAMA over 13 years ago

  • Resolution changed from Invalid to Duplicate
Actions #6

Updated by Bogor shi about 13 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!

Actions #7

Updated by Toshi MARUYAMA about 13 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

Actions #8

Updated by Bogor shi about 13 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!

Actions #9

Updated by Toshi MARUYAMA about 13 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.

Actions #10

Updated by Bogor shi about 13 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!

Actions

Also available in: Atom PDF