Defect #11834
closedBazaar: "???" instead of non ASCII character in paths on non UTF-8 locale
100%
Description
- Redmine 2.0.3
- Ruby 1.8.7
- Rails 3.2.6
- Apache 2.2
I'm using Redmine on Windows XP SP3 Rus and Windows Server 2003 Rus (cp1251). There is a problem with browsing Bazaar repository containing cyrillic symbols in repository filenames and paths. I see ??? instead of cyrillic symbols.
I didn't find solution of this problem anywhere. Is there one?
So, I checked other scm *_adapter.rb and made same 'bzr' output encoding convertion, so everything works now (see attached files, they contains comments of basic changes). Was it useless?
Changes:- Added path encoding setup when adding Bazaar repo (same as for the filesystem).
- Removed log encoding setup, because of Bazaar is storing all comments in utf8 inside and outputs them with same encoding as for the path.
P.S. Saw Ruby for the first time when started to do this
Files
Updated by Alexander Usenko about 12 years ago
There can be a problem with file annotation view (simple file view is Ok). "Attachments and repositories encodings" in application settings must be set to "UTF-8, CP1251", not to "CP1251, UTF-8". Last case causes file to look like it is encoded in UTF-8, but is browsed in CP1251.
What is being seen: тест тест тест
What should be seen: тест тест тест
Maybe i forgot smth in annotate function of bazaar_adapter.rb
Updated by Toshi MARUYAMA about 12 years ago
- Status changed from New to 7
- Assignee set to Toshi MARUYAMA
- Affected version (unused) deleted (
2.0.3) - Affected version deleted (
2.0.3)
Updated by Toshi MARUYAMA about 12 years ago
- Subject changed from Redmine+Bazaar+Windows: "???" instead of cyrillic symbols in repository paths to Bazaar+Windows: "???" instead of non ASCII character in paths
Updated by Toshi MARUYAMA about 12 years ago
- Subject changed from Bazaar+Windows: "???" instead of non ASCII character in paths to Bazaar: "???" instead of non ASCII character in paths on non UTF-8 locale
Updated by Toshi MARUYAMA about 12 years ago
- Target version set to 2.2.0
- % Done changed from 0 to 100
Updated by Jean-Philippe Lang about 12 years ago
- Status changed from 7 to Closed
- Resolution set to Fixed