プロジェクト

全般

プロフィール

Vote #70078

完了

Export CSV has character encoding error

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2011/06/07
期日:
進捗率:

100%

予定工数:
category_id:
2
version_id:
36
issue_org_id:
8549
author_id:
28218
assigned_to_id:
11192
comments:
9
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

  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:

Status 椤圭洰 璺熻釜

宸插叧闂?涓婃捣绉诲姩璁¢噺鑰冩牳绯荤粺  Bug 绔嬪嵆淇

journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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

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

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed in r7947.
--------------------------------------------------------------------------------


related_issues

relates,Closed,7096,CSV Issues Export + Ruby 1.9 + Thin + non-ascii characters causes "invalid byte sequence in US-ASCII"
duplicates,Closed,6621,Multibyte symbols are wrongly displayed in issues CSV export (ISO-8859)

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン1.3.0_36 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0