Project

General

Profile

Actions

Defect #8549

closed

Export CSV has character encoding error

Added by Steven Wong over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
Issues
Target version:
Start date:
2011-06-07
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

1. login and issues tab
2. when the ui language is English ,export the Chinese encoding issues, the CSV file is Malformed.just like this:

  1. Status 椤圭洰 璺熻釜
    宸插叧闂?涓婃捣绉诲姩璁¢噺鑰冩牳绯荤粺 Bug 绔嬪嵆淇

Related issues

Related to Redmine - Defect #7096: CSV Issues Export + Ruby 1.9 + Thin + non-ascii characters causes "invalid byte sequence in US-ASCII"Closed2010-12-11

Actions
Has duplicate Redmine - Defect #6621: Multibyte symbols are wrongly displayed in issues CSV export (ISO-8859)Closed2010-10-11

Actions
Actions #1

Updated by Toshi MARUYAMA over 13 years ago

  • Target version set to 1.3.0
Actions #2

Updated by Toshi MARUYAMA over 13 years ago

  • Assignee set to Toshi MARUYAMA
Actions #3

Updated by Toshi MARUYAMA over 13 years ago

  • Category set to Issues
Actions #4

Updated by Toshi MARUYAMA over 13 years ago

source:trunk/config/locales/en.yml@5999#L140
general_csv_encoding: ISO-8859-1

You can see Chinese characters in Chinese locale.
I will replace invalid characters to '?' like PDF in 1.3.

Actions #5

Updated by Toshi MARUYAMA over 13 years ago

  • Subject changed from Export CSV hase character error to Export CSV has character error
Actions #6

Updated by François Trahan over 13 years ago

Just a little remark : The encoding used for CSV export is dependent on the user interface choice. Unfortunately, because I work with an English interface doesn't mean that every comment is going to be in English.

Here, we had to replace pretty much every local's yml file to specify UTF-8 for csv export encoding.

On the same basis, exporting french comments with ISO-8859-1 yields bad characters, making this a poor encoding choice for the french locale...

Actions #7

Updated by Toshi MARUYAMA almost 13 years ago

  • % Done changed from 0 to 100
Actions #8

Updated by Toshi MARUYAMA almost 13 years ago

  • Subject changed from Export CSV has character error to Export CSV has character encoding error
Actions #9

Updated by Toshi MARUYAMA almost 13 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Committed in r7947.

Actions

Also available in: Atom PDF