Opened 18 years ago
Last modified 9 years ago
#4080 new enhancement
[Patch] Detect charset using enca or chardet
Reported by: | mpv | Owned by: | |
---|---|---|---|
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 )
to detect charset in multiply charset repository
Attachments (2)
Change History (12)
by , 18 years ago
Attachment: | trac-enca.diff added |
---|
comment:1 by , 18 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 , 18 years ago
Alternatively chardet is pure Python and easy_install-able, so this might be a better choice.
comment:3 by , 18 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).
by , 17 years ago
Attachment: | chardet.patch added |
---|
comment:8 by , 10 years ago
Owner: | removed |
---|
comment:9 by , 9 years ago
The Universal Character Encoding Detector chardet can currently be found on PyPi.
comment:10 by , 9 years ago
Summary: | [PATCH] detect charset using enca → [Patch] Detect charset using enca or chardet |
---|
patch