Modify

Opened 6 years ago

Closed 2 years ago

#8944 closed defect (wontfix)

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

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

Description (last modified by Ryan J Ollos)

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 6 years ago.
File with cyrillic filename
dia.zip (3.6 KB) - added by Charger 6 years ago.
Ops. This is file with cyrillic in zip

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by Charger

Attachment: diagramm1.dia added

File with cyrillic filename

comment:1 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)

Changed 6 years ago by Charger

Attachment: dia.zip added

Ops. This is file with cyrillic in zip

comment:2 Changed 6 years ago by Tobias Johansson

Have you tried setting git_fs_encoding = latin1 ?

[git]
git_fs_encoding = latin1

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

comment:3 Changed 2 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

GitPlugin is deprecated. Please upgrade to Trac 1.0 and use TracGit.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.