Character encoding auto-detection using rchardet
Current character encoding auto-detection cant differentiate cp1251 from cp866 (if both encodings are configured).
But https://rubygems.org/gems/rchardet/ can !
I have made proof of concept patch on my Redmine 3.3.1 from debian package.
And it just works without significant performance impact.
Updated by Toshi MARUYAMA about 6 years ago
Could you add tests?
I don't like auto detection.
Japanese has many character encodings (UTF-8, EUC-JP, CP932, Shift-JIS, and ISO-2022-JP).
Auto detection misbehaves in many cases in Japanese.
- No auto detection