Edgewall Software

Opened 18 years ago

Last modified 8 years ago

#4080 new enhancement

[PATCH] detect charset using enca — at Version 7

Reported by: mpv Owned by: Christian Boos
Priority: high Milestone: next-major-releases
Component: version control/changeset view Version: 0.10
Severity: normal Keywords: charset encoding patch
Cc: Thijs Triemstra Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Thijs Triemstra)

to detect charset in multiply charset repository

http://gitorious.org/enca

Change History (9)

by mpv@…, 18 years ago

Attachment: trac-enca.diff added

patch

comment:1 by Christian Boos, 17 years ago

Milestone: 0.12

I'm not sure the mimeview refactoring will still happen in 0.11 timeframe, therefore scheduling this for 0.12.

In the mimeview refactoring, there will be entry points for pluggable mimeview and charset detectors.

comment:2 by Matthew Good, 17 years ago

Alternatively chardet is pure Python and easy_install-able, so this might be a better choice.

comment:3 by Christian Boos, 17 years ago

#4930 presents the problem of garbled content for attachments, where it's typically hard to get metadata about the file content (for repository, there could be either the svn:mime-type property setting the charset, or a repo wide setting and convention).

comment:4 by Kyosuke Takayama <support@…>, 16 years ago

I have patch using chardet.

This works fine for me.

by Kyosuke Takayama <support@…>, 16 years ago

Attachment: chardet.patch added

comment:5 by Christian Boos, 14 years ago

Priority: normalhigh

Upping the priority, related to #3332.

comment:6 by Thijs Triemstra, 13 years ago

Cc: Thijs Triemstra added
Keywords: patch added

The patch needs a review.

comment:7 by Thijs Triemstra, 13 years ago

Description: modified (diff)

update project url

Note: See TracTickets for help on using tickets.