Patch #17902

CSV encoding should be UTF-8 in French locale

Added by Vincent Robert about 3 years ago. Updated 6 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

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!

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


Related issues

Related to Redmine - Feature #7037: CSV export encoding and excel. UTF-8 and BOM Closed 2010-12-03
Related to Redmine - Feature #26279: Allow to overide general_csv_encoding in CSV export optio... New

History

#1 Updated by Go MAEDA almost 2 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.

#2 Updated by Vincent Robert almost 2 years ago

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

#3 Updated by Toshi MARUYAMA almost 2 years ago

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

#4 Updated by Jean-Philippe Lang almost 2 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.

#5 Updated by Stephane Evr 6 days 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

#6 Updated by Mischa The Evil 6 days 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.

#7 Updated by Mischa The Evil 6 days ago

  • Related to Feature #26279: Allow to overide general_csv_encoding in CSV export options window added

Also available in: Atom PDF