Project

General

Profile

Actions

Defect #8549

closed

Export CSV has character encoding error

Defect #8549: Export CSV has character encoding error

Added by Steven Wong over 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Toshi MARUYAMA
Category:
Issues
Target version:
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 2 (0 open — 2 closed)

Related to Redmine - Defect #7096: CSV Issues Export + Ruby 1.9 + Thin + non-ascii characters causes "invalid byte sequence in US-ASCII"ClosedActions
Has duplicate Redmine - Defect #6621: Multibyte symbols are wrongly displayed in issues CSV export (ISO-8859)ClosedActions

Updated by Toshi MARUYAMA over 15 years ago Actions #1

  • Target version set to 1.3.0

Updated by Toshi MARUYAMA over 15 years ago Actions #2

  • Assignee set to Toshi MARUYAMA

Updated by Toshi MARUYAMA over 15 years ago Actions #3

  • Category set to Issues

Updated by Toshi MARUYAMA over 15 years ago Actions #4

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.

Updated by Toshi MARUYAMA over 15 years ago Actions #5

  • Subject changed from Export CSV hase character error to Export CSV has character error

Updated by François Trahan over 15 years ago Actions #6

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...

Updated by Toshi MARUYAMA about 15 years ago Actions #7

  • % Done changed from 0 to 100

Updated by Toshi MARUYAMA about 15 years ago Actions #8

  • Subject changed from Export CSV has character error to Export CSV has character encoding error

Updated by Toshi MARUYAMA about 15 years ago Actions #9

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

Committed in r7947.

Actions

Also available in: PDF Atom