Project

General

Profile

Actions

Patch #17902

closed

CSV encoding should be UTF-8 in French locale

Added by Vincent Robert over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
I18n
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Default csv encoding is currently set to ISO-8859-1 in the French localization file. That's probably why the generated csv files do not show accented characters properly.

Don't you think the general_csv_encoding variable should be set to UTF-8 in locales/fr.yml?
Thank you!


Files

patch.diff (405 Bytes) patch.diff Vincent Robert, 2014-09-17 17:17

Related issues

Related to Redmine - Feature #7037: CSV export encoding and excel. UTF-8 and BOMClosedJean-Philippe Lang2010-12-03

Actions
Related to Redmine - Feature #26279: Allow switching the encoding to UTF-8 when exporting to CSVClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA about 8 years ago

  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.3.0

Jean-Philippe, what do you think about this?

Although I cannot judge whether this patch should be merged or not because I am not a French speaker, I am setting target version to 3.3.0 to request you to make a decision.

Actions #2

Updated by Vincent Robert about 8 years ago

I think this change is not necessary and you may close this issue.

Actions #3

Updated by Toshi MARUYAMA about 8 years ago

  • Related to Feature #7037: CSV export encoding and excel. UTF-8 and BOM added
Actions #4

Updated by Jean-Philippe Lang about 8 years ago

  • Status changed from New to Closed
  • Target version deleted (3.3.0)

As far as I can tell, french spreadcheets like Excel and Calc don't use UTF-8 as default when opening a CSV file.
Thanks anyway for your feedback.

Actions #5

Updated by Stephane Evr over 6 years ago

Jean-Philippe Lang wrote:

As far as I can tell, french spreadcheets like Excel and Calc don't use UTF-8 as default when opening a CSV file.
Thanks anyway for your feedback.

(#27213) What about the € symbol? I guess it is quite commonly used in Europe, although ISO-8859-1 does not includes this symbol... I am considering switching the CSV encoding to UTF-8 instead

Actions #6

Updated by Mischa The Evil over 6 years ago

Stephane Evr wrote:

[...] I am considering switching the CSV encoding to UTF-8 instead

As I also posted in #27213: This is something that, I think, would be solved by the proposal of #26279. With that, the user can select UTF8 encoding when exporting to CSV if appropriate.

Actions #7

Updated by Mischa The Evil over 6 years ago

  • Related to Feature #26279: Allow switching the encoding to UTF-8 when exporting to CSV added
Actions

Also available in: Atom PDF