Opened 7 years ago
Last modified 3 years ago
#4080 new enhancement
[PATCH] detect charset using enca
| Reported by: | mpv | Owned by: | cboos |
|---|---|---|---|
| Priority: | high | Milestone: | next-major-releases |
| Component: | version control/changeset view | Version: | 0.10 |
| Severity: | normal | Keywords: | charset encoding patch |
| Cc: | thijstriemstra | ||
| Release Notes: | |||
| API Changes: | |||
Description (last modified by thijstriemstra)
to detect charset in multiply charset repository
Attachments (2)
Change History (9)
Changed 7 years ago by mpv@…
comment:1 Changed 6 years ago by cboos
- Milestone set to 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 Changed 6 years ago by mgood
Alternatively chardet is pure Python and easy_install-able, so this might be a better choice.
comment:3 Changed 6 years ago by cboos
#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 Changed 5 years ago by Kyosuke Takayama <support@…>
I have patch using chardet.
This works fine for me.
Changed 5 years ago by Kyosuke Takayama <support@…>
comment:5 Changed 3 years ago by cboos
- Priority changed from normal to high
Upping the priority, related to #3332.
comment:6 Changed 3 years ago by thijstriemstra
- Cc thijstriemstra added
- Keywords patch added
The patch needs a review.



patch