Project

General

Profile

Actions

Patch #17902

closed

CSV encoding should be UTF-8 in French locale

Patch #17902: CSV encoding should be UTF-8 in French locale

Added by Vincent Robert about 12 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
I18n
Target version:
-

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 2 (0 open — 2 closed)

Related to Redmine - Feature #7037: CSV export encoding and excel. UTF-8 and BOMClosedJean-Philippe LangActions
Related to Redmine - Feature #26279: Allow switching the encoding to UTF-8 when exporting to CSVClosedGo MAEDAActions

Updated by Go MAEDA almost 11 years ago Actions #1

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

Updated by Vincent Robert almost 11 years ago Actions #2

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

Updated by Toshi MARUYAMA almost 11 years ago Actions #3

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

Updated by Jean-Philippe Lang almost 11 years ago Actions #4

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

Updated by Stephane Evr about 9 years ago Actions #5

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

Updated by Mischa The Evil about 9 years ago Actions #6

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.

Updated by Mischa The Evil about 9 years ago Actions #7

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

Also available in: PDF Atom