Modify

Opened 3 years ago

Last modified 2 years ago

#8944 new defect

Problem with cyrillic file name. (UnicodeDecodeError: 'utf8' codec can't decode)

Reported by: Charger Owned by: hvr
Priority: normal Component: GitPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description (last modified by rjollos)

After commit in GIT repositiories file with cyrillic characters in filename and cached_repository = true, Trac fails sync. When cached_repository = false trac show error only on page, when he must show cyrillic filename.

trac-admin 0.12.2

Python 2.6.6

git version 1.7.5.3

TracGit 0.12.0.5dev

Attachments (2)

diagramm1.dia (3.5 KB) - added by Charger 3 years ago.
File with cyrillic filename
dia.zip (3.6 KB) - added by Charger 3 years ago.
Ops. This is file with cyrillic in zip

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by Charger

File with cyrillic filename

comment:1 Changed 3 years ago by rjollos

  • Description modified (diff)

Changed 3 years ago by Charger

Ops. This is file with cyrillic in zip

comment:2 Changed 3 years ago by tojo

Have you tried setting git_fs_encoding = latin1 ?

[git]
git_fs_encoding = latin1

That did it for me with Swedish ÅÄÖåäö on our Ubuntu server

Add Comment

Modify Ticket

Action
as new The owner will remain hvr.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.