[hg] encoding setting is not used for files in hg
|Reported by:||Owned by:|
|Priority:||normal||Milestone:||plugin - mercurial|
|Severity:||normal||Keywords:||file multiple encodings|
We have some files in UTF-8 and some files in cp1251 in our mercurial repository.
[hg] encoding = utf-8, cp1251
With this setting committer, commit message, etc are displayed correct in trac's source browser. Files in UTF-8 are also displayed correct, but not files in cp1251.
Attached patch adds encoding conversion for file content according to [hg] encoding setting.