Defect #18376
closedEncoding timelog_csv export utf-8
0%
Description
Hi all
Problems export timelog csv format russian language. text is displayed: "RџRѕR "SЊR · RѕRІR ° S,RμR" SЊ"
OS-Centos 6.6
Environment:
Redmine version 2.6.0.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
mysql> show variables like "character_set_database";-----------------------------+
| Variable_name | Value |-----------------------------+
| character_set_database | utf8 |-----------------------------+
1 row in set (0.00 sec)
mysql>
file ./config//locales/ru.yml set general_csv_encoding: UTF-8
Updated by Toshi MARUYAMA over 9 years ago
- Status changed from New to Needs feedback
Updated by Toshi MARUYAMA over 9 years ago
Updated by Toshi MARUYAMA over 9 years ago
Updated by Lukyanchenko Roman over 9 years ago
Thank you! The base was originally made in the encoding UTF-8. I did database dump, and in it I see Russian letters correctly.
I added in my.cnf settings that were in your links. I even tried to convert the database. All the same, when exporting to the csv, I see ANSI character set, in other words all the same what I said initially.
Updated by Toshi MARUYAMA over 9 years ago
Do you really use Russian locale in user preference?
Is ANSI Windows-1251?
Updated by Lukyanchenko Roman over 9 years ago
Thank you, you gave me the idea. You're right, it's all about in the user software. I opened the file in MS Excel and there were problems.
Now this file is opened in Notepad, and everything is fine! no problems
Thanks again for the help! You can close the topic.
Updated by Toshi MARUYAMA over 9 years ago
- Status changed from Needs feedback to Closed
- Resolution set to Invalid
Thank you for your feedback.