Project

General

Profile

Actions

Feature #41202

closed

Change the default CSV export encoding to UTF-8

Added by Go MAEDA 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Issues
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

This patch changes the default encoding for CSV exports from :general_csv_encoding to UTF-8.

UTF-8 is now the standard encoding format and is crucial for exporting data with multiple languages or Unicode emojis to prevent character corruption. Therefore, using UTF-8 is the best choice in most cases.

Currently, Redmine defaults to :general_csv_encoding (ISO-8859-1 for English, CP932 for Japanese) for CSV exports, requiring users to manually select UTF-8 each time, which is inconvenient. Switching the default to UTF-8 will simplify this process.

The default was originally set to :general_csv_encoding for compatibility with older versions of Excel, which didn’t support UTF-8. However, modern Excel versions can read UTF-8 encoded CSV files with a BOM. Since Redmine’s UTF-8 exports include a BOM (see #7037), changing the default to UTF-8 will not affect Excel compatibility.


Files

Actions #2

Updated by Go MAEDA 4 months ago

  • File deleted (change-csv-export-default-encoding.patch)
Actions #3

Updated by Go MAEDA 4 months ago

  • Target version changed from Candidate for next major release to 6.0.0

Setting the target version to 6.0.0.

Actions #4

Updated by Go MAEDA 4 months ago

  • Subject changed from Change default CSV encoding to UTF-8 for exports to Change the default CSV export encoding to UTF-8
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch in r23007.

Actions

Also available in: Atom PDF