Defect #16852
closedGit: non-ascii filname cannot be treated above Git 1.7.10 on Windows
0%
Description
I found Git repository cannot open Chinese folder and Chinese file content.
Reproduce steps:
1. Create a sample git repository with some Chinese folder name and Chinese file name.
2. Add this to redmine in windows 7;
3. Click Chinese file name, it cannot show the file content and history.
No error message for file history.
Error message for "View": "The entry or revision was not found in the repository."
The error message in Webrick is: "fatal: Path 'abc/鍝坸yz.txt' does not exist in 'master'".
4. Click English file name, it can show the file content and history normally.
5. Click Chinese folder name, it cannot show the file list in this folder.
The error message is: "The entry or revision was not found in the repository.".
The error message in Webrick is: "fatal: Not a valid object name master:娴嬭瘯"
'abc/鍝坸yz.txt' should be utf-8 format of Chinese file name "abc/哈xyz.txt". (abc is another folder)
'娴嬭瘯' should be utf-8 forma of Chinese folder name '测试'.
Version information:
system: windows 7 Chinese
Redmine: v2.51, v2.50, v2.43 all tested;
Ruby: 1.93 p 448, 1.87 also tested;
Git: 1.9.2
DB: sqlite3
After multiple redmine and Ruby version test, this problem is the same.
Some pictures are attached for your reference.
Files